Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pix303/minimal-rest-api-server
Template project for REST API with authorization and base CRUD for basic entity
https://github.com/pix303/minimal-rest-api-server
crud go jwt-auth postgresql rest rest-api session
Last synced: about 1 month ago
JSON representation
Template project for REST API with authorization and base CRUD for basic entity
- Host: GitHub
- URL: https://github.com/pix303/minimal-rest-api-server
- Owner: pix303
- Created: 2022-04-06T22:34:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T15:02:27.000Z (over 2 years ago)
- Last Synced: 2024-06-21T02:10:32.636Z (7 months ago)
- Topics: crud, go, jwt-auth, postgresql, rest, rest-api, session
- Language: Go
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal REST API
## Project template to fork and implement real rest api
Dependences
- [**gorilla/mux**](https://github.com/gorilla/mux) as router
- [**zerolog**](github.com/rs/zerolog/log) as logger
- Postgresql as dbBranches
- _master_: authentication with JWT autogenerated at startup (see log)
- _authboss-implementation_: authentication with Authboss _**failed...**_, can't route login requestTODO
- authenticaion by provider as Google, Github, ecc
- sessions to manage authorization/expiration
- user info persistence
- CRUD to persist basic entity