https://github.com/forhadulislam/sylo
Golang microservice helper
https://github.com/forhadulislam/sylo
go-monorepo microservice microservices monorepo monorepo-example monorepos monorepository
Last synced: 2 months ago
JSON representation
Golang microservice helper
- Host: GitHub
- URL: https://github.com/forhadulislam/sylo
- Owner: forhadulislam
- License: mit
- Created: 2020-08-13T19:27:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T14:42:50.000Z (over 1 year ago)
- Last Synced: 2025-01-11T16:50:37.068Z (4 months ago)
- Topics: go-monorepo, microservice, microservices, monorepo, monorepo-example, monorepos, monorepository
- Language: Makefile
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sylo
A Golang microservice helper.
![]()
### How should you `Sylo`
* You can just clone this repository and start working with your MicroService project
* Sylo is developed for Monorepo based projects
* You can have as many Microservices as you want. (Services can be found in `services` directory)
* You can create your own custom packages too. (All of the custom packages can be found in `packages` directory)### How to create a new Service
To create a new service with `Sylo` use this command
make create-service
You will have to input a unique service name. And it requires to provide service names without any `spaces`. If you have created a new service successfully then you should see a new directory created inside the `./service` directory with the same name you provided for the service.
### Git Hooks
Sylo uses `pre-commit` git hooks to run some commands before committing.
To use git hooks you need to install `pre-commit` package. You can install it by running this command
brew install pre-commit
or you can install it using `pip`
pip install pre-commit
After installing `pre-commit` you need to run this command to install the hooks
pre-commit install
### How to run a Service
# This is a Work in Progress. Do not use it until it's ready.