Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabriel-milan/echo-rest-api
A basic REST API with a few interesting features so someone (myself included) can adapt this code in the future for any other project of their own.
https://github.com/gabriel-milan/echo-rest-api
Last synced: about 1 month ago
JSON representation
A basic REST API with a few interesting features so someone (myself included) can adapt this code in the future for any other project of their own.
- Host: GitHub
- URL: https://github.com/gabriel-milan/echo-rest-api
- Owner: gabriel-milan
- License: mit
- Created: 2021-03-12T20:10:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-14T12:32:26.000Z (over 3 years ago)
- Last Synced: 2024-05-01T17:40:14.098Z (7 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Echo REST API
A basic REST API with a few interesting features so someone (myself included) can adapt this code in the future for any other project of their own.
## Features
* CRUD
* RESTful
* CORS enabled
* CSRF prevention
* Integration with PostgreSQL (can be changed to another DB supported by GORM)
* Pagination
* JWT restricted routes
* Very basic unit test case on `api/models`
* Rate limits
* Dockerized with multi-stage build
* Configuration optionally through environment variables