Giter Site home page Giter Site logo

trellixvulnteam / flask-todo-app_19e5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruda830/flask-todo-app

0.0 0.0 0.0 5.1 MB

Flaskを使ったWebで動くToDoアプリ

JavaScript 0.05% Python 99.87% PowerShell 0.01% CSS 0.05% HTML 0.01% Batchfile 0.01% Procfile 0.01%

flask-todo-app_19e5's Introduction

flask-todo-app

【目的】
pythonで「DB接続+WEBでの操作+Herokuにデプロイ」できるものを作る。→Flaskを使ったtodo appを作る。

【結果】
出来た。出来たものは↓です。
https://todo-app-ruda830.herokuapp.com/

 



メモ
(2020/12/25)
FlaskでHTMLにHello world表示するアプリを作る。

(2020/12/26)
HTML内容物の継承(base.html→テキスト内容をindex.htmlへ)
DBをSQLliteで作り、SQLAlchemyで操作をする。
POSTをまず作り、methodsでapp.pyと連携。フォームにタスクを書き込むところまで出来た。
なんかできない。テーブルがないと言われた。→pythonの対話型シェルで>>> from app import db>>> db.create_all()を再度打ち込み、作製。
→その上でapp.pyを実行すると出来た。POSTとGETをHTML上でも実装出来た。
detailまで実装。
同じ要領でdeleteまで実装。
if elseでupdateまで実装。
createボタンを追加。 日付を順に並べる。

とりあえず完成。装飾は後回し。 Herokuにtodo-app-ruda830としてデプロイ。

flask-todo-app_19e5's People

Contributors

ruda830 avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.