A Book Store eCommerce application made with NestJS and ReactJS.
- NodeJS
- NestJS
- Mongoose (MongoDB)
- ReactJS
- Vite
- MaterialUI
- Redux
- Redux Toolkit
- Cookies
- JWTs
- Encryption
- Session Management
-
Make sure your mongodb is running on
port 27017
-
Make sure you have a database with name
books
in mongodb
(There should be no collections/docs in this books
database. Data will be automatically added in this db when you'll run the app)
- Make sure no other app is running on ports
3000
and5173
-
Make sure you meet all the requirements mentioned under "Prerequisities" heading above.
-
Clone this repository using command
git clone [email protected]:harsh-sahni-projects/eCommerce-app-with-nestjs-reactjs.git
-
Go inside this cloned folder using
cd eCommerce-app-with-nestjs-reactjs
-
Install backend dependencies by running
npm install
-
The frontend is placed in the folder "book-store-frontend". Install frontend dependencies by running
cd book-store-frontend
andnpm install
-
Come back to server folder by running
cd ..
-
Run
npm run start:dev
to run the development server. -
Go to
http://localhost:5173
and you'll land on Book Store dashboard.