Presents a basic CRUD application with Node, Express, and PostgreSQL using the Sequelize ORM package.
This package does not deal with Migrations, Relations, or anything fancy at all. It is meant as an intro for getting started with Sequelize.
This app does not use Migrations. You'll need to uncomment out the table building lines in server/models/Book.js
, run the app, then re-comment them out to set up the DB.
See server/models/index.js
for other starting notes.
- Getting Started Docs
- A good CRUD example with more on set-up and migrations
- Solid post on the practicality of Sequelize
- Has great examples and discusses setting up model file modules and loading them in.