Skip to content

simple setup to test out creating sequelize many-to-many database relationships

Notifications You must be signed in to change notification settings

jamesmart77/sequelize-many-to-many

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sequelize-many-to-many

Simple setup to test out creating sequelize many-to-many database relationships

This repo was created in an effort to complete the setup first sought after in this Medium how-to article: Medium Article

The following guide is super helpful for the nitty gritty basics of setting up a Node, Express, and PG application with Sequelize. https://scotch.io/tutorials/getting-started-with-node-express-and-postgres-using-sequelize

Initial Setup Steps

  • Run user-groups-dev in the terminal. You must have Postgres installed to perform this. This will create the local database
  • Modify the server/config file accordingly with your credentials to connect to your local db
  • Run sequelize db:migrate in the terminal before launching the application. This will perform all the migrations to setup the database
  • Run npm run dev

About

simple setup to test out creating sequelize many-to-many database relationships

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published