The goal of this project is to demonstrate:
- Persistent session in application without the use of Redux
- Setup a Postgres database with Heroku
- Implement Sequelize to make database queries to Heroku
You understand the following problem:
- A user comes to your website.
- They log into your website to access specific information on their account.
- After logging in, they click the refresh button on their browser.
If not handled the refresh button will do the following: All information in the application is set to is initial state.
In this application we explore some different ways to store a user's session to handle the refresh button. *Also note that refresh is the default state of submitting a form element
You understand that Heroku is going to create a Postgres Database, and will provide you with a code to allow you to make queries to the database that is being stored in Heroku.
You have learned how to make queries in a Sequel format. Now it is time to learn how to make queries in a Sequelize format!