https://github.com/rus-sharafiev/go-rest
REST service written in Go
https://github.com/rus-sharafiev/go-rest
golang rest-api
Last synced: 11 months ago
JSON representation
REST service written in Go
- Host: GitHub
- URL: https://github.com/rus-sharafiev/go-rest
- Owner: rus-sharafiev
- License: mit
- Created: 2024-02-26T20:48:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-19T06:41:45.000Z (over 1 year ago)
- Last Synced: 2025-02-14T22:14:07.213Z (over 1 year ago)
- Topics: golang, rest-api
- Language: Go
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go REST Service
Template for creating a REST service using [Go](https://go.dev/)
The app requires [PostgreSQL](https://www.postgresql.org/download/) (uses the pgx driver) and [Redis](https://redis.io/docs/install/install-redis/)
This project is inspired by the NestJS framework
Currently has been implemented:
- SPA handler
- Signup
- Signin
- Email verification
- reCAPTCHA validation
- User access control (JWT)
- Refresh tokens ([OAuth 2.0](https://oauth.net/2/refresh-tokens/))
- Exceptions that return JSON
- Localization (En, Ru)
- FormData interceptor (requires [custom FormData converter](https://github.com/rus-sharafiev/fetch-api))
The project is under active development