Skip to content

danathala/cp-todo-flask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-Stack ToDo Web App with Python

This is a project for a Clever Programmer's course.

Contents

  1. Initial Setup Instructions
  2. Running Server

Initial Setup Instructions

Setup Python Virtual Environment

python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt

Running Server

Cheatsheet

sqlite3 todo.db <---- creates db and runs sqlite3 terminal
.tables <---- saves db in sqlite3 terminal
.exit <------ closes sqlite3 terminal
python / python3 <---- run python terminal
from app  import  db <----- import db from our flask app inside python terminal
db.create_all() <---- creates tables
exit() <----- exit from terminal
python app.py <---- run our app

Go and check http://127.0.0.1:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 44.9%
  • Python 28.1%
  • CSS 27.0%