when you click the button "try again"
-it triggers a post request to "/failure" (written in failure.html)
-that is gonna be called to our server(app.js) and it redirects to "/"
-that sends us to "/signup.html" to be rendered on screen
renting server to access others to my page
*HEROKU
inside the project file, add "Procfile", not txt, just this
inside, type
web: node app.js
//telling heroku how to launch our app & which file actually contains our server file
updating/setting app
- $ git add .
- $ git commit -m "version-name"
- $ git push heroku master //uploading local files
that'll update our website with the changes
'JavaScript' 카테고리의 다른 글
section 22 (0) | 2022.12.08 |
---|---|
git (0) | 2022.12.04 |
basic setup routine (0) | 2022.11.25 |
jQuery (0) | 2022.11.16 |
Advanced Javascript and DOM Manipulation (0) | 2022.11.16 |