What is this for?
This is a Yoga Class Registration & Login systems app done with Node.js Framework using MongoDB(Atlas) as the data store, Express as the routing system, Body-parser as the parser for webpage, Express-session used to track the user's session and of course Mongoose to make interacting with Mongo from Node easy.
Getting Started
Running the tests
•Registration Form:
Allows the user to register their account by filling their Email, Username, Password.
•Login Form:
If the user has been registered on the app, can login by passing the credentials.
•User's Profile:
After the user logged in, a simple profile with the user's username and password and batch time and paymeny info
displayed with a session Logout button.
•Password Reset:
If the user forget his/her password, can reset by entering the registered Email id
and reset the password.
ER Diagram
The ER diagram for the given system at the moment is:
DataBase:
Here we use MongoDB Atlas(Cloud) as the database. Here we have two collection created, named as:
- users.
- sessions.
Prerequisites
Tools that we need to run this app:
Installing
npm install
To Run the App
node server.js
The server will start Running on