https://github.com/mr-destructive/cookiecutter-golang-api
A cookiecutter template for creating APIs with Golang
https://github.com/mr-destructive/cookiecutter-golang-api
Last synced: about 1 year ago
JSON representation
A cookiecutter template for creating APIs with Golang
- Host: GitHub
- URL: https://github.com/mr-destructive/cookiecutter-golang-api
- Owner: Mr-Destructive
- Created: 2022-08-23T16:57:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T15:47:29.000Z (over 3 years ago)
- Last Synced: 2025-01-29T20:37:27.597Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cookiecutter Golang API
A base template for creating a API with golang. Uses [GIN](https://gin-gonic.com/) and [GORM](https://gorm.io/) packages.
## Installation
```
cookiecutter https://github.com/Mr-Destructive/cookiecutter-golang-api
```
```
$ cookiecutter https://github.com/Mr-Destructive/cookiecutter-golang-api
project_name [go_test_api]:
project_slug [core]:
description [GO GIN API Template]:
author_name [Someone]:
domain_name [example.com]:
email [meet-gor@example.com]:
version [0.0.1]:
```
## Features
- Base API Route (JSON)
- Template Route (HTML)
- SQLite support with gorm
- Structured project layout
## TODO
- Integrate other API template
- Vanilla GO API
- Gorilla MUX API
- Fiber API
- Other Database integrations
- PostgreSQL
- MySQL
- MongoDB
- Base Authentication Views
- CRUD APIs