Creates basic API server using postgres DB deployed to herokum served with Express for Code Fellows 401
Deployed at: https://cf-basic-api-server.herokuapp.com/
to install run git clone git@github.com:Kellen-Linse/basic-api-server
cd into express-server-deployment
run npm install
To start server run : npm start
To test server run: npm test
- POST
/food/?food=<insert food>&meal=<insert meal>- creates a food - POST
/dog/?type=<insert type>&size=<insert size>- creates a food
-
Object
food { food: string, meal: string } dog { type: string, size: string }
