A GraphQL Server for mobile application about time and task management called Flow. This server was built as part of bachelor thesis.
To get a local copy up and running follow these simple steps.
- Docker
- Docker Compose
- Clone the repo
- Run the following command to start the server
$ docker-compose up
. This will run the environment containing necessary tools. - The server will be running on
http://localhost:3000
Note: It is encouraged to modify the Dockerfile environment variables to match your certificate details.
It is possible to run the server alone, however, following conditions must be met:
- Running and configured TaskD server
- Running and configured timew-sync-server
Once the conditions are met, follow these steps:
- Clone the repo
- Copy the
.env.example
file to.env
and fill in the necessary information - Run the migrations by running the following command
$ go run cmd/db/main.go
- Run the following command to start the server
$ go run cmd/server/main.go
. This will run the server in development mode.