This repository was archived by the owner on Oct 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTODO
More file actions
45 lines (41 loc) · 1.63 KB
/
TODO
File metadata and controls
45 lines (41 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Todo:
Install Virtual enviroment
copy workspace file into the folder
select python interpreter, check it
Install all vscode recommended extensions, disable others.
✔ freeze requirements file @done(21-05-03 16:45)
✔ restart and install all recommenditions from vscode using pipenv (already installed from pipfile, but mention) @done(21-05-03 16:46)
✔ create project module, app.py , and run it. @done(21-05-03 16:46)
✔ env var @done(21-05-03 16:47)
✔ flask run @done(21-05-03 16:47)
✔ python app.py @done(21-05-03 16:47)
✔ use pythondotenv @done(21-05-03 16:46)
✔ store vars in .env file and test @done(21-05-03 16:46)
✔ routing @done(21-05-03 16:46)
☐ create many routes
☐ seperate in file
☐ use parametrized route
☐ return "string", json, render_remplate(plain, no var)
✔ create fake tests. @done(21-05-03 16:46)
☐ redirect from url to another
☐ use url_for
☐ redirect using url_for
☐ render templates using var.
☐ use static in templates.
☐ access request methods (get, post, put, post, delete)
☐ create fake db (dictionary).
☐ flash messages
☐ access request, session and g from templates and from code.
☐ more about request
☐ create secret key and store in config
☐ secret key necessary to access session>
☐ more about session
☐ more about g
☐ more about request cookies
☐ abort by errors
☐ error handlers
☐ more about response
☐ more about simple api
☐ config dilemma, where to store
☐ use sqlite db queruies (create table, insert, update, select, delete).
☐ use sql alchemy