https://github.com/fajrulaulia/modulor-go
ModulorGo is a backend written by Golang and Docker, easy to development, test, build and deploy.
https://github.com/fajrulaulia/modulor-go
api backend golang
Last synced: about 1 month ago
JSON representation
ModulorGo is a backend written by Golang and Docker, easy to development, test, build and deploy.
- Host: GitHub
- URL: https://github.com/fajrulaulia/modulor-go
- Owner: fajrulaulia
- Created: 2020-10-12T03:31:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T04:19:25.000Z (over 5 years ago)
- Last Synced: 2025-01-19T08:42:44.278Z (over 1 year ago)
- Topics: api, backend, golang
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# ModulorGo
## Overview
ModulorGo is a Backend module written by golang, easy to Write Code, Testing and Build.
## Requirement
- OS Linux or Mac.
- Make sure you system installed `docker-engine`,`docker-compose` and `make`.
> you don't need to install MySQL server, Relax.
## Commands
- `make service-up` : Create Service like MySQL Server for Local Development.
- `make service-down` : Stop and Remove Service like MySQL Server for Local Development.
- `make local-run` : Run local server golang.
- `make local-test` : Run Test locally.
- `make build`: Build image Application.
- `make deploy`: Deploy image to registry.
## Development
- make sure you have access right from me :) .
- clone from `git@gitlab.com:fajrulaulia/modulor-go.git`.
- cd to `modulor-go` folder.
- run `make service-up` to start service like MySQL server.
- run `make local-run` to run your code.
## Testing
- Testing can you write in `$ROOT_PROJECT/app/test/`.
- run `make local-test`.
- automatically, a service for testing will be created.
## Migrations
- for migrations, this module have a two folder
- `migrations/test` : for testing when you create a new service and you need DDL and DML.
- `migrations/build`: for production when you create a new service and you need DDL and DML.
## Contributor
Contributor: Fajrul Aulia