Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

splitinfinities/workshop

Repository files navigation

Welcome to the API Workshop!!!

Here's what you'll need


node

https://nodejs.org/en/download/

Postgres 9.5 or up

Mac:

http://postgresapp.com

GUI: https://eggerapps.at/postico/

Windows:

https://www.postgresql.org/download/windows/

GUI: https://www.bigsql.org/postgresql/installers.jsp

Fork and check this repo out, or download the zip!

What we've done so far:

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.

About

This is the repo for the 2017 workshop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors