GitHub - NickGowdy/recipe-api: API for organising recipes
source link: https://github.com/NickGowdy/recipe-api
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Recipes API
This API provides all that you need to create and manage a list of recipes
This API is built with Golang and Postgres. It can be run locally using docker which can be download here
-
Once Docker is installed, to build the API run from the root of the project
docker-compose up --build -d
ordocker-compose up --build
to help with debugging. -
Run
docker-compose down
to stop the API and Postgres database ordocker-compose down --volumes
to also remove the database volumes.
*List of endpoints
To get a list of your recipes use:
curl http://localhost:8080/api/accounts/{account_id}/recipes
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK