Snippet box represents a standalone application that aims to provide necessary APIs to manage snippets domain. The Snippet box domain provide necessary operation for user to view and add snippets.
- go >= 1.17
- PostgreSQL >= 11
- Docker Engine
- PostgresSQL
These services can be manually installed and configured or can be used semi-automatic scrips with docker engine.
Note: At the moment there are no instructions and/or script that provides support for manual installation. It is recommended to use docker engine.
Prerequisites: all service dependencies should be up and running and properly configured.
- Build project:
go build -o main ./cmd/web/
- Show available flag:
./main -help
- Alternative - run on Docker:
docker-compose -f .\build\docker-compose.yaml up --build
Exposed API can be checked using exposed web page
Note Http server is started on port 4000`
TBA