Skip to content

itmo-wad/Sekandari-Hamidreza-H.M-2-authentication-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Project Title

This project includes several files and codes related to user authentication and profile management using Flask and MongoDB.

Files and Descriptions

  • styles.css: This file contains CSS styles for styling HTML elements in the project.

  • login.html: This HTML file provides a login form where users can input their username and password to log in to the system.

  • profile.html: This HTML file displays user information such as bio, contact information, and provides options to upload a profile image and manage the user profile.

  • register.html: This HTML file contains a registration form where new users can sign up by providing their email, username, and password.

  • mongodb_connection_test.py: This Python script demonstrates how to connect to a MongoDB database, insert a new user, and check the insertion result.

  • app.py: This Python script is the main Flask application file that handles routing, user authentication, and profile management functionalities.

Installation

  1. Clone the repository: git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory: cd your-repository
  3. Install the required dependencies: pip install -r requirements.txt
  4. Run the Flask application: python app.py

Usage

  1. Open a web browser.
  2. Navigate to http://localhost:5000 to access the login page.
  3. Log in with your username and password or register for a new account.
  4. After successful login or registration, you will be redirected to your profile page.
  5. On the profile page, you can view and edit your profile information, upload a profile picture, and log out.
  6. MongoDB is used as the database for this project. The MongoDB server is accessed locally at the following IP address:localhost:27017

Contributors

Sekandari Hamidreza

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published