Skip to content

note taking application make using python flask framework

Notifications You must be signed in to change notification settings

ankitjilka/flask-note

 
 

Repository files navigation

Flask Note App

Application for taking notes

Used Technologies:

  • Python: 3.10
  • MariaDB: 10.2
  • Flask: 2.2.2

Local Setup

First, create virtualenv if you want

python -m venv flask_note_env
Note: If you don't have venv than install it below way
python -m pip install venv

After, craete virtualenv active this env

. flask_note_env/bin/activate

After activation, need to install dependecies,

python -m pip install -r requirements.txt

Now set global env to run flask app

export FLASK_APP=main.py
export FLASK_ENV=development

Now, Run flask app,

Recommend: Before run application apply migration

flask run

For, Apply Migration:

  1. Create a migration repository
flask db init
  1. Create a migration script
flask db migrate -m "init migration"
  1. Apply the migration to the database
flask db upgrade

Run app with Docker

docker compose up --build

See output https://localhost:5001

About

note taking application make using python flask framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.1%
  • Python 45.7%
  • HCL 3.6%
  • Dockerfile 1.6%