Flask-Notes-App is a simple web application built with Flask, MySQL, and Flask-Login for user authentication. It allows users to sign up, log in, create notes, and log out.
flask.notes.app.mp4
- User authentication (sign up, log in, log out) using Flask-Login
- MySQL database for storing user information
- Creation and display of notes for authenticated users
- Password matching and email uniqueness checks during signup
- Flash messages for user feedback
Before you begin, ensure you have the following installed:
- Python (3.6 or higher)
- Flask
- Flask-MySQLdb
- Flask-Login
- MySQL server
-
Clone the repository:
git clone https://github.com/your-username/flask-notes-app.git
-
Navigate to the project directory:
cd flask-notes-app
-
Install dependencies:
pip install -r requirements.txt
-
Configure MySQL:
- Create a MySQL database and update the
config['MYSQL_DB']
inapp.py
with your database name.
- Create a MySQL database and update the
-
Run the application:
python app.py
The application should be running on http://127.0.0.1:5000/.
- Open your web browser and go to http://127.0.0.1:5000/.
- Sign up for a new account or log in with existing credentials.
- Once logged in, you can create and view your notes on the '/notes' page.
- Log out when you're done.
Contributions are welcome! Please check the CONTRIBUTING.md file for more details.
This project is licensed under the MIT License.