Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitanoyoru/effective-mobile-task
Implementation of the REST API for Effective Mobile
https://github.com/kitanoyoru/effective-mobile-task
docker event-bus go golang orm postgresql redis rest-api
Last synced: 1 day ago
JSON representation
Implementation of the REST API for Effective Mobile
- Host: GitHub
- URL: https://github.com/kitanoyoru/effective-mobile-task
- Owner: kitanoyoru
- License: apache-2.0
- Created: 2023-10-22T02:04:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-25T10:04:06.000Z (about 1 year ago)
- Last Synced: 2023-11-05T04:43:58.786Z (about 1 year ago)
- Topics: docker, event-bus, go, golang, orm, postgresql, redis, rest-api
- Language: Go
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Effective-Mobile Junior Golang task
## Installation
### Locally
Build cli tool:
This project contains my version of the solution on Effective-Mobile task on the Junior/Junior+
Golang Developper## Installation
### Locally
Build cli tool:
```sh
source config/env.local.prodmake tidy && make build
# or you can use just thihs to start server
make start-local```
You can checkout description of the project and for each command (and their params) in the CLI
```sh
Usage:
effective-mobile-task [command]Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
migrate Migrate schema in database
server Start serverFlags:
--dev use development version
-h, --help help for effective-mobile-task
```Make migrations to the database:
```sh
./effective-mobile-task migrate
```Start server
```sh
./effective-mobile-task server
```### In Docker
```sh
make start-docker
```## Troubleshooting
### Failed to start app service in docker-compose
Try again run docker compose up command and everything should works fine. Really don't how to solve
this problem now, but in a short time i guess patch will be uploaded.