This is a document versioning application made for a college course.
Set environmental variable DOCKER_BUILDKIT=1
This environment hosts the entire application on
localhost:3000
.
Start:
docker compose --profile all up -d --build
Stop:
docker compose --profile all down
Cleanup:
docker compose --profile all down -v
This environment has to be running during frontend development.
Start:
docker compose --profile backend up -d --build
Stop:
docker compose --profile backend down
Cleanup:
docker compose --profile backend down -v
Start:
npm run --prefix frontend start
Ctrl-C
to quit.
This environment has to be running during backend development.
Start:
docker compose --profile db up -d
(no --build
because we are using pre-made images)
Stop:
docker compose --profile db down
Cleanup:
docker compose --profile db down -v
Start:
cd backend
cargo run
cd ..
Because Rust webservers are young, there aren't many OpenAPI generators, most of them require boilerplate.
For that reason Postman is used and kept up to date in the Apsi.postman_collection.json
file.
The simplest usage requires you to register, then login and copy JWT token into collection global variables.
Further usage is adequate.