MichaelJHTaggart / Example-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example-Project

The goal of this project is to demonstrate:

  1. Persistent session in application without the use of Redux
  2. Setup a Postgres database with Heroku
  3. Implement Sequelize to make database queries to Heroku

Persistant Session

You understand the following problem:

  1. A user comes to your website.
  2. They log into your website to access specific information on their account.
  3. 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

Postgres with Heroku

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.

Sequelize

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!

Component Tree

Screen Shot 2021-08-26 at 12 55 24 AM

Database Model

Screen Shot 2021-08-26 at 12 55 44 AM

About


Languages

Language:JavaScript 83.7%Language:HTML 7.2%Language:CSS 6.3%Language:Shell 2.8%