-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtodo.txt
79 lines (48 loc) · 2.35 KB
/
todo.txt
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
fix silk/debug toolbar profiling
https://github.com/django-commons/django-debug-toolbar/issues/1875
https://github.com/jazzband/django-silk/issues/682
swap cachealot for cacheops
Make sure redis caching is configured bestly https://github.com/sebleier/django-redis-cache
setup robots.txt and configure that to be part of django
structlog
Hijack
**DJANGO
set config up with
https://github.com/rochacbruno/dynaconf
Figure out html emails
- https://github.com/peterbe/premailer
- https://github.com/sunscrapers/django-templated-mail
Get celery setup
- https://github.com/pmclanahan/django-celery-email
install
next-boost looks nice
https://github.com/rjyo/next-boost
** Documentation:
Authentication
- same subdomain cookie for same machine
- domain cookie for different machines, same domain (must not be on https://publicsuffix.org/list/public_suffix_list.dat)
- jwt for different domains.
{{ foo:bar}} sets a dictionary in react code but is also a variable in jinja - look into changing jinja delimiter to something illegal in js
documentation notes:
Security
- http only cookie
mention that you need to use python3.8 to manage.py on prod
Truly Static assets - where do they live
- Django - easier to put a cdn in front of them.
Get cdn configured with next and django
https://nextjs.org/docs/api-reference/next.config.js/cdn-support-with-asset-prefix
fix security issues from:
https://securityheaders.com/?q=https%3A%2F%2Flightmatter-sampleapp.herokuapp.com%2F&followRedirects=on
Better jest testing:
https://github.com/testing-library/jest-dom
cypress testing
https://github.com/cypress-io/cypress-example-recipes
- https://github.com/bahmutov/cypress-select-tests
- get client side mock working w/ mirage, but not enabled when running tests through django
- move nextjs server start into a once per class thing vs once per test in the django test case
- figure out how to enforce new build of nextjs on running django tests
- https://github.com/svish/cypress-hmr-restarter#readme for interactive testing
- https://stackoverflow.com/questions/52231111/re-run-cypress-tests-in-gui-when-webpack-dev-server-causes-page-reload
Sentry - Get consolidated error report for frontend and backend
https://nextjs.org/docs/advanced-features/measuring-performance#sending-results-to-analytics
https://github.com/zeit/next.js/discussions/12913 -- get error page working