Skip to content

Developed a secure login and register page using Node.js, implementing server-side logic for user authentication. Utilized MongoDB as the backend database, designing schemas and integrating encryption for storing user credentials securely.

Notifications You must be signed in to change notification settings

advikbhatt/Login_Register_Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Login and Register Page with Node.js and MongoDB

This project is a secure login and register page built using Node.js, MongoDB.

Features

  • User Authentication: Implementing server-side logic for user authentication to ensure secure access to the application.
  • Password Storage: User credentials are stored in the MongoDB database, ensuring data security.
  • MongoDB Integration: Utilizes MongoDB as the backend database for storing user information and credentials.
  • Schema Design: Well-structured schemas are designed for storing user data in the MongoDB database.

Prerequisites

  • Node.js installed on your machine.
  • MongoDB installed and running locally or accessible via a remote connection.

Installation

  1. Clone the repository: git clone https://github.com/your-username/login_register.git

  2. Install dependencies:
    cd secure-login
    npm install

  3. Set up environment variables:

    Create a .env file in the root directory and add the following variables:

PORT=3000 MONGODB_URI=your_mongodb_connection_string

  1. Start the server:

npm start

Usage

  • Access the application through a web browser by navigating to http://localhost:3000.
  • Register a new user account with a unique username and a strong password.
  • Log in with the registered credentials to access the secure content.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request for any improvements or bug fixes.

Acknowledgements

  • Thanks to the Node.js and MongoDB communities for their excellent documentation and resources.

About

Developed a secure login and register page using Node.js, implementing server-side logic for user authentication. Utilized MongoDB as the backend database, designing schemas and integrating encryption for storing user credentials securely.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published