Behind the scenes service. Provide RESTFUL API for Pet-weather-app. There RESTful JSON API endpoints:
-
An index of Pets: GET: https://stormy-shore-87607.herokuapp.com/api/pets
-
Pet lookup by ID: GET: https://stormy-shore-87607.herokuapp.com/api/pets/:id
-
Pet Creation with proper error checking: POST: https://stormy-shore-87607.herokuapp.com/api/pets
This is built onto ExpressJS.
-
Implement the basic functions, but there are still some I have to enhance afterwards. For example, managing postgres connections, formating the project structure which follows industrial standards like(MVC or MVP pattern) .
-
First time using postgres, I will have to look into more about the API to make the data secure.