-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoznamky.txt
46 lines (35 loc) · 1.7 KB
/
poznamky.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
https://react-bootstrap.github.io/
https://reactjs.org/docs/refs-and-the-dom.html
https://hackernoon.com/a-user-encounters-a-javascript-error-youll-never-guess-what-happens-next-dc1a6f725490
https://blog.scalac.io/react-redux-jwt-authentication.html
https://medium.freecodecamp.org/how-to-create-email-chips-in-pure-react-ad1cc3ecea16
Integration with heroku:
~~~~~~~~~~~~~~~~~~~~~~~~
https://github.com/mars/heroku-cra-node
heroku plugins:install heroku-cli-static
git remote add heroku https://git.heroku.com/jcm2018.git
heroku domains
heroku certs:auto
heroku ps:resize web=hobby
heroku ps
heroku ps:restart
heroku logs
Heroku SSL uses Server Name Indication (SNI), an extension of the TLS protocol, which allows for
Heroku to terminate SSL on its router. App receives only unencrypted HTTP/WS traffic.
https://devcenter.heroku.com/articles/ssl
https://devcenter.heroku.com/articles/automated-certificate-management
https://devcenter.heroku.com/articles/http-routing (X-Forwarded-Proto)
MongoDB Atlas in the cloud:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://cloud.mongodb.com/
Sending emails via Gmail
~~~~~~~~~~~~~~~~~~~~~~~~
https://medium.com/@nickroach_50526/sending-emails-with-node-js-using-smtp-gmail-and-oauth2-316fe9c790a1
Focused button:
.button:focus {
/* Adds a white border around the button, along with a blue glow. The white and blue have a color contrast ratio of at least 3:1, which means this will work against any background color. */
box-shadow: 0 0 0 2px #ffffff, 0 0 3px 5px #3a97f9;
/* NOTE: box-shadow is invisible in Windows high-contrast mode, so we need to add a transparent outline, which actually does show up in high-contrast mode. */
outline: 2px dotted transparent;
outline-offset: 2px;
}