Rust 1.43 stable
and above
- ssl must be set if you expose service directly to internet.
- rename
.env_example
to.env
and make changes to match your environment. docker build -t <image name> .
docker run -d --name <contianer name> -p <port you want to expose from host>:<PORT in .env> <image name>
-
rename
.env_example
to.env
and make changes to match your environment. -
cargo build --release
and run./target/release/psn_api_service
..env
must be in the same working dir where you startpsn_api_service
- See the showcase for example of APIs