https://nodejs.org/en/download/
GUI: https://eggerapps.at/postico/
https://www.postgresql.org/download/windows/
GUI: https://www.bigsql.org/postgresql/installers.jsp
npm install express-generator --global
express workshop
npm install pg-promise —save // this handles communication with postgres.
npm install bluebird —save // this will do a postgres promise.
npm install cors —save
This is the place to get started, if you've checked out this repo!
Add to the .profile, .bash_profile, or .zshrc:
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
Then open a new terminal window. You should have psql
psql -f ./sql/schema.sql // sets up the the database!
npm install // installs dependencies
npm start // starts the site at http://localhost:3000
Now, import the postman collection file in this repo - it's called Workshop.postman_collection.json. You'll have the stories prepared so you can interact with a pretty simple stories API.