This is the frontend for Book management system!
- It contains the Login Page, Signup Page, The homepage.
- It contains AUthentication for the user if user it will move on to users profile page showig some details about the user.
- The user will be able to create a book of his liking and upload the cover for the Book.
- User will be able to logout from his account or it will get logged out after an hour of inactivity.
- The details of the user are stored in the MongoDB and the profile pic of the user isuploaded to cloud using cloudinary.
- Since i am using react this is a single page website meaning moving from one page to other is easier and instantaneous.
- Redux is used a the state management for the website.
- Website uses RestFull Architecture.
MongoDB is a nosql Database used to store data in json/document format. I have used mongoDB using mongoose Library for the connection of Nodejs and The DB. Mongoose Provides many different and easy methods to interact with the DB.
Using HTTP requests, we can use the respective action to trigger every of these four CRUD operations.
- POST is used to send data to a server — Create
- GET is used to fetch data from a server — Read
- PUT is used to send and update data — Update
- DELETE is used to delete data — Delete
Use of JSONWEBTOKEN for Authentication and Authorization purpose.
I have used the Token which will be available from Jsonwebtoken and sent it as cokiee for the session to keep the user Logged in.
I have used React hooks like use state and use Effect. Use effect is used to render changes after any updation/change in the provided state.
Command to run the server in development mode!
Command to create a build folder for Production.
I have used chakra ui in this project. Almost all Css is done in using Chakra UI. It gives us an inbuilt theme for changing the light mode and dark mode of the application.