Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felipeorlando/go-crud-clean-architecture
A simple Go CRUD following Clean Archtecture pattern
https://github.com/felipeorlando/go-crud-clean-architecture
crud golang
Last synced: 21 days ago
JSON representation
A simple Go CRUD following Clean Archtecture pattern
- Host: GitHub
- URL: https://github.com/felipeorlando/go-crud-clean-architecture
- Owner: felipeorlando
- Created: 2021-01-29T21:45:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-29T21:46:52.000Z (almost 4 years ago)
- Last Synced: 2024-11-02T00:42:06.350Z (2 months ago)
- Topics: crud, golang
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-crud
This is a simple crud developed usign Go and Mongo, with some clean archtecture concepts.You can CRUD users on the following endpoints:
```
GET /users
GET /users/{id}
POST /users
PUT /users/{id}
DELETE /users/{id}
```To run the project you can use `docker-compose` or the `Makefile` (don't forget to change the configs on `config/config.go`). And it will run on port 3000.
## tests
To run the tests you must be runnig MongoDB locally (don't forget to change the configs on `config/config.go`) and just run the following command:```sh
make test
```