Skip to content

A login and signup form using HTML, nodeJs, and mongodb. This form allows users to register and login. All information is stored in a mongodb-atlas database. After successful login the user is redirected to their dashboard. Project Website:

Notifications You must be signed in to change notification settings

anujvaghani0/authentication-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Registration & Login systems in
Node.js using MongoDB

What is this for?

This is a Simple User 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

•Registration Form:

Allows the user to register their account by filling their Email,PhoneNumber,Age,Password.

•Login Form:

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

•DataBase:

Here we use MongoDB Atlas(Cloud) as the database. Here we have two collection created, named as:

  • users.
  • sessions.

A Collection(Users) is populated with the user's credentials.

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

Author

Author Profile Link
Anuj V Vaghani Anuj Vaghani

Made with ❤️ by Anuj Vaghani

About

A login and signup form using HTML, nodeJs, and mongodb. This form allows users to register and login. All information is stored in a mongodb-atlas database. After successful login the user is redirected to their dashboard. Project Website:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published