https://github.com/geffrerson7/todo-app-flask
Todo app designed with Flask
https://github.com/geffrerson7/todo-app-flask
bootstrap5 docker flask html javascript mongodb python
Last synced: 3 months ago
JSON representation
Todo app designed with Flask
- Host: GitHub
- URL: https://github.com/geffrerson7/todo-app-flask
- Owner: Geffrerson7
- Created: 2023-03-22T21:17:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T02:56:12.000Z (about 3 years ago)
- Last Synced: 2025-04-06T10:49:55.096Z (over 1 year ago)
- Topics: bootstrap5, docker, flask, html, javascript, mongodb, python
- Language: HTML
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TODO-APP-FLASK
## Description
App made with Flask and Python to create tasks, mark tasks as done and edit tasks.
## Getting Started
First clone the repository from Github and switch to the new directory:
```bash
$ clone git https://github.com/Geffrerson7/TODO-APP-FLASK.git
```
```bash
$ cd TODO-APP-FLASK
```
Activate the virtualenv for your project.
```sh
$ virtualenv venv
# windows
$ source venv/Scripts/activate
# Linux
$ source venv/bin/activate
```
Install project dependencies:
```sh
(venv)$ pip install -r requirements.txt
```
Create the following environment variables in the .env file
`FLASK_APP`
`FLASK_DEBUG`
`FLASK_ENV`
`SECRET_KEY`
`DATABASE_URI`
`DB_NAME`
You can now run the development server:
```sh
(venv)$ flask run
```
And navigate to
```sh
http://127.0.0.1:5000/
```
## Project installation in Docker
Clone the repository
```bash
$ git clone https://github.com/Geffrerson7/TODO-APP-FLASK.git
```
Go to the project directory.
```bash
$ cd TODO-APP-FLASK
```
Run the command
```sh
$ docker-compose up
```
And navigate to the route
```sh
http://127.0.0.1:5000/
```
## Author
- [Gefferson Max Casasola Huamancusi](https://www.github.com/Geffrerson7)