API for Train Ops
Make sure you have basic tools installed:
Configure environment variables :
Copy the file .env.example
to a new file named .env
And set your variables in this file
Run : cargo run
Test : http://localhost:8080/login
cargo clippy
- Build :
docker build -t train_ops_api .
- Run :
docker run -p 8080:8080 train_ops_api
- Test : http://localhost:8080/login