This app is ready to go with all the JSON-based CRUD routes you need! Build a front end for it using Backbone.
Before we can start this app, there are a few things we need to do...
-
In the root of the repository, run
npm install
. This is similar tobundle
in rubyland... But with some differences. If you don't have Node installed, go here and download and run the installer. NPM is installed as part of Node. -
Start
psql
and create ahouses_of_westeros_development
database. -
Run
npm install -g sequelize-cli
. This installs the command line interface for thesequelize
module. -
Run
sequelize db:migrate
. Can you guess what this does? -
Run
node seedfile.js
. This will populate the database with all the information about ASOIAF houses.
Implement full CRUD for this app using backbone.