advait2205 / Yoga_Class_Registration_Assignment

This is a simple yoga registration site using node js and mongodb for an assignment submission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yoga Registration form assignment submission

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.

image

•Login Form:

If the user has been registered on the app, can login by passing the credentials.

image

•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.

image

•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:

image

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

About

This is a simple yoga registration site using node js and mongodb for an assignment submission

License:MIT License


Languages

Language:EJS 52.9%Language:JavaScript 44.1%Language:CSS 2.9%Language:Procfile 0.1%