NOTE: The server is now running on PORT 5000! http://localhost:5000/api/v1/products
- postgres installed locally
- OSX - brew install postgres
- npm install -g knex
npm install # install dependencies
createdb cjs_store # create postgres db
knex migrate:latest # create tables in db
knex seed:run # add sample data to db
npm run dev
npm start
- Server is listening on PORT 5000.
- http://localhost:5000/api/v1/products