aditya.siregar 2554533e09 Update
2025-03-16 11:01:58 +08:00
2024-12-27 11:19:30 +07:00
2024-10-15 11:52:34 +07:00
2025-03-08 00:35:23 +07:00
2025-03-16 11:01:58 +08:00
2025-03-08 00:35:23 +07:00
2025-03-04 20:36:17 +07:00
2025-03-16 11:01:58 +08:00
2024-05-28 14:14:55 +07:00
2024-05-28 14:14:55 +07:00
2024-05-28 14:14:55 +07:00
2024-07-23 09:36:08 +07:00
2024-05-28 14:14:55 +07:00
2024-06-04 14:25:57 +07:00
2024-05-28 14:14:55 +07:00
2025-03-15 15:51:18 +08:00
2025-03-15 15:51:18 +08:00
2024-05-28 14:14:55 +07:00
2025-03-08 00:35:23 +07:00
2025-03-04 20:36:17 +07:00
2025-03-04 20:36:17 +07:00

Go
Backend Template

Clean architecture based backend template in Go.

Makefile

Makefile requires installed dependecies:

$ make

Usage: make [command]

Commands:
 rename-project name={name}    Rename project
 
 build-http                    Build http server

 migration-create name={name}  Create migration
 migration-up                  Up migrations
 migration-down                Down last migration

 docker-up                     Up docker services
 docker-down                   Down docker services

 fmt                           Format source code
 test                          Run unit tests

HTTP Server

$ ./bin/http-server --help

Usage: http-server

Flags:
  -h, --help               Show mycontext-sensitive help.
      --env-path=STRING    Path to env config file

Configuration is based on the environment variables. See .env.template.

# Expose env vars before and start server
$ ./bin/http-server

# Expose env vars from the file and start server
$ ./bin/http-server --env-path ./config/env/.env

API Docs

License

This project is licensed under the MIT License.

Description
No description provided
Readme MIT 120 MiB
Languages
Go 98.6%
HTML 0.9%
Shell 0.3%
Makefile 0.1%