Visit here to have a look at this website.
- The website is developed in VS Code.
- Download and install a code/text editor.
- Download Node Js and npm(Node package manager) (npm gets installed by default on downloading Node)
- Clone the repository by running the command:
git clone https://github.com/namanrox/bookstore.git
in your GitBash or terminal of VS Code.
- Run the command
cd server - Run
npm install nodemon mongoose dotenv express bcryptjs corsto install all the required dependencies for server side. - Go to package.json file and add
"start": "node index.js""dev": "nodemon index.js""build": "npm install && npm install --prefix client && npm run build --prefix client"inside scripts. - Now, run the command
cd client - Run
npm install axios prop-types react-hook-form react-hot-toast react-router-dom react-slick slick carouselto install all the required dependencies for client side. - Also, add devDependencies
daisyui postcss tailwindcss vite - Run
npm run devto start the client and server both. - Check for
App started at port {provider}to know whether the port is connected. - Now you are set to use it locally.



