Skip to content

namanrox/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bookStore

Language Framework

Visit here to have a look at this website.

Environmental Setup

  • The website is developed in VS Code.

How to setup in local environment

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 cors to 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 carousel to install all the required dependencies for client side.
  • Also, add devDependencies daisyui postcss tailwindcss vite
  • Run npm run dev to 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.

Reference Images

home-light

home-dark

login sign-up