This project demonstrates a user login system built using Python and MongoDB. The backend handles user registration, login, and authentication.
- User registration with email and password.
- Login functionality using stored credentials.
- MongoDB integration for storing user data.
- Built using Python and MongoDB.
- Python 3.x
- MongoDB (local or cloud instance)
- Flask (for the web framework)
- PyMongo (for MongoDB integration)
-
Clone the repository:
git clone https://github.com/DILNATHRK/LoginPageBackendInPythonWithMongoDBIntegeration.git
-
Navigate to the
userlogindirectory:cd LoginPageBackendInPythonWithMongoDBIntegeration/userlogin -
Install the required dependencies:
pip install -r requirements.txt
-
Configure MongoDB:
- Make sure your MongoDB server is running, or use a MongoDB cloud service.
- Update the connection string in the application configuration.
-
Run the application:
python manage.py
POST /login: Authenticate user with email and password.POST /signup: Register a new user with email and password.
This project is licensed under the MIT License - see the LICENSE file for details.