Giter Club home page Giter Club logo

registration-and-login-form-in-nodejs-and-mongodb's Introduction

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

Deployment

This Project is Live on: 🌍 https://reg-login-using-nodejs-mongodb.herokuapp.com/

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

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.



A Collection(session) is created which stores the users Logged session.




Prerequisites

Tools that we need to run this app:

Installing

npm install

Connection to DataBase Access

At line 11 on ./server.js change <DB_USERNAME> with your DataBase UserName & <DB_PASSWORD> with your DataBase Password.

To Run the App

node server.js

The server will start Running on

Author

Author Profile Link
Guru HariHaraun N Guru Roxz

Acknowledgments

  • Hat tip to anyone whose code was used.
  • Special mention to all the Nodejs dev's on youtube 😜



Buy Me A Coffee

Made with ❤️ by Guru Roxz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.