A Complete Book Review WebApp made using ReactJS, NodeJS, ExpressJS and MongoDB.
- Live preview of this project: Book Review
-
Simple Responsive Design
-
Register and Login Functionality
-
OTP Verification
-
Add and Remove Book
-
Add Review
-
Profile Update
-
JWT Authentication
-
User, Book and Review Validation
-
Protected Routes
-
Password Hashing - Bcrypt
-
Custom Error Handling
-
404 Page
- First, download or clone this repo, and then run the command given below to install all the required dependencies.
- Backend:
cd backend && npm install- Frontend
cd frontend && npm install-
Rename the
.env_samplefile to.envinside both backend and frontend folder -
Provide your MONGO_URI, FRONTEND_BASE_URL, PORT, JWT_SECRET, GMAIL_ADDRESS and GMAIL_PASSWORD inside the backend folder's
.envfile. -
Provide your REACT_APP_BACKEND_URL inside the frontend's
.envfile. -
Run the
node appornodemon appcommand inside the backend folder to start the server. -
Run the
npm run startcommand inside the frontend folder to spin-up the frontend. -
Finally, Preview this project locally by visiting the URL:
localhost:<PORT number> -
In production, use
secureproperty in cookie parser options object. You can add it inside thebackend/controllers/userController.jsfile.
If you have any feedback, please reach out to me at kunalukey32@gmail.com