CRUD server providing the computer store API
- Set server settings in configs/main.yml
- Define some environment variables for connecting to the database in
.envfile
PC_HOST=localhost
PC_PORT=5432
PC_USERNAME=postgres
PC_PASSWORD=password
PC_SSLMODE=disable
PC_DBNAME=pcstore
PC_SERVICE_HASHSALT=test
PC_SERVICE_TOKENSECRET=test- Run server
make run
After launch, you can look at the api on: localhost:8080/docs/index.html
Baran Pavlo GitHub