A fullstack pg manangement web application where user can resister and login. After logging in user can add his/ her pg buildings, rooms in the buildings and tenants who are residing in the building respectively.
In this fullstack web application the backend has been built using Node JS and Express JS. MongoDB database has been used for express js to interact with it. User Authentication has been performed and routing has been set by giving particular api endpoints.
1, Nodemon - Nodemon is a tool that helps develop Node.js based applications by automatically restarting the node application when file changes in the directory are detected.
2, Express - Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
3, Mongoose - Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
4, Validator - A package used to check whether the email id provided by the user is valid or in valid. Example: validator.isEmail('foo@bar.com') returns true.
5, Bcryptjs - This module enables storing of passwords as hashed passwords instead of plaintext.
6, JSON WEB TOKEN - JSON Web Token, is an open standard used to share security information between two parties — a client and a server. Each JWT contains encoded JSON objects, including a set of claims.
7, CORS - Cross-Origin Resource Sharing (CORS). It allows you to make requests from one website to another website in the browser, which is normally prohibited by another browser policy called the Same-Origin Policy (SOP).
The frontend of this repository is built using React JS and Redux. The application level state has been maintained in Redux store and api calls were made in the action generator file. The frontend of this web application allows user to register and login only if the validations are passed. Routing part has been carried out to switch between the pages. CRUD operations were performed in the building, rooms and tenants pages respectively.
1, React JS
2, Redux
3, React Redux
5, Redux Thunk
6, Axios
7, Validator
8, Sweetalert