Book_collection.mp4
This project consists of a client and a server. The client is built using Vite and React, while the server is built using Node.js. The application features authentication for an admin user and includes various functionalities such as viewing, adding, editing, and deleting books.
Navigate to the client directory and install dependencies:
cd client
npm installNavigate to the server directory and install dependencies:
cd server
npm installTo start the client, navigate to the client directory and run:
npm run devThe client will be running at http://localhost:5173.
To start the server, navigate to the server directory and run:
npm startThe server will be running at http://localhost:3001.
Create a .env file in the server directory and add the following:
PORT = 3001
URL = "mongodb://127.0.0.1:27017/bookCollection"
Admin_key = "admin-key"