A simple Flask-based web application for creating and managing notes. It includes user authentication, note creation, deletion, and sharing features. The application also supports dark mode and is designed to be responsive.
##Deployment Link App is live here: https://note-app-oth8.onrender.com
Clone the repository:
git clone https://github.com/yourusername/notes-app.git
cd notes-app
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install the dependencies:
pip install -r requirements.txt
Set up environment variables:
Create a .env
file in the root directory and add the following environment variables:
SECRET_KEY=your_secret_key
[email protected]
MAIL_PASSWORD=your_email_password
Initialize the database:
flask db init
flask db migrate -m "Initial migration."
flask db upgrade
Run the application:
flask run
The application will be available at http://127.0.0.1:5000
.
notes-app/
├── website/
│ ├── __init__.py
│ ├── auth.py
│ ├── forms.py
│ ├── models.py
│ ├── views.py
│ ├── templates/
│ │ ├── base.html
│ │ ├── home.html
│ │ ├── login.html
│ │ ├── my_notes.html
│ │ ├── shared_note.html
│ │ ├── sign_up.html
│ │ ├── contact.html
│ │ └── logoutModal.html
│ ├── static/
│ │ ├── css/
│ │ │ └── styles.css
│ │ ├── js/
│ │ │ └── index.js
├── .env
├── requirements.txt
├── README.md
└── main.py
##Contributing Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.