18 lines
420 B
Markdown
18 lines
420 B
Markdown
# Service
|
|
|
|
Python REST API using FastAPI, packaged as a Docker container. The build is automated using Gradle.
|
|
|
|
## Building
|
|
|
|
To build the container: `./gradlew :service:build`
|
|
|
|
## Development
|
|
|
|
To launch the service with hot-reload: `./gradlew :service:serve`
|
|
|
|
This mounts the source directory into the container and enables uvicorn hot-reloading. Press _ENTER_ to stop.
|
|
|
|
## Testing
|
|
|
|
Run tests: `./gradlew :service:test`
|