Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmytrodemianchuk/cz-api
backend of robotacz website
https://github.com/dmytrodemianchuk/cz-api
backend docker docker-compose go golang mongo mongodb website
Last synced: 1 day ago
JSON representation
backend of robotacz website
- Host: GitHub
- URL: https://github.com/dmytrodemianchuk/cz-api
- Owner: DmytroDemianchuk
- Created: 2023-03-03T19:32:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-24T09:50:57.000Z (over 1 year ago)
- Last Synced: 2024-06-21T19:09:26.882Z (5 months ago)
- Topics: backend, docker, docker-compose, go, golang, mongo, mongodb, website
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backend
## Commands of application
Use this command in the directory
- `docker-compose up -d --build` - to run an application
- `docker-compose down` - to stop an application# _In Postman use_
to create people http://localhost:80/api/people
```
{
"name" : "Dima",
"phone_number" : "38098088829590",
"birth_year" : "2003"
}
```
## Comands
- http://localhost:80/api/people - create people
- http://localhost:80/api/people/_id - get people
- http://localhost:80/api/peoples - get all peoples
- http://localhost:80/api/people/_id - delete people
- http://localhost:80/api/deleteall - delete all peoples
- http://localhost:80/api/people/_id - update people