I have created a Login and Registration Form with NodeJS, ExpressJS and MongoDB. This is a Basic Version of the Login and Signup Form which I have created using a bit of help from a few Youtube videos.
To install and run this project,
You can download the zip file or Clone the Project Repository using Git with the below command:
git clone https://github.com/DhruvAthaide/Login-RegistrationForm-MongoDB.git
Then, open the terminal in the project directory, and run the following command:
npm install
Once, you have installed the dependancies for the project using NodeJS, Open your Mongo DataBase using the MongoDB Compass GUI Application click on "Create a Database" and enter the following details:
Database Name: LoginSignup
Collection Name: logincollections
Once, you have created the Database to store all the user data, you can run the following command in the terminal of the project directory to start the ExpressJS server using nodemon:
nodemon src/index.js
Then, you can paste the following address into your browser to access the LoginSignUp Server:
http://localhost:3000/