Todo Server
Installation
First, pull the project into your working environment:
git pull git@github.com/mayoz/todo-server
Development Environment
The following requirements are assumed to be installed on your local environment:
You can use following command for running app:
go run {service-path}
Example usage for "api" service:
go run ./cmd/api
Or, you can use Docker for your development environment. Please, first check the following requirements on your computer:
Check the .env
file and run:
docker-compose up --build -d
You should be able to access the app on localhost:8080
.
Testing
make test
If you need coverage you can run the following command:
make test-cover