Handy Snippets - an app for storing and sharing end-to-end encrypted notes online. Written on Go, SQLite DB and GraphQL API to interact with Handy Snippets Frontend
Сlone the repo:
git clone github.com/dariasmyr/handy-snippets-backendYou can run the application directly from the command line. Do not forget to enter your PORT and FRONTEND_URL (for CORS policy) into env variables.
PORT=<your_port> FRONTEND_URL=<your_frontend_url> go run cmd/server.go Run the application using Docker by executing the following command. FO NOT forget to write your env variables in the .env file:
# Launch
$ docker-compose up -d
# Rebuild and launch
$ docker-compose up -d --buildThis app uses SQLite database for data size optimisation and embedding.
