A simple notes taking app made as a reference, showing how to structure a go codebase, build and test it
while obeying the sonar cloud Quality gates
- Backend
- Go 1.23.2 or higher
- fiber http server
- sqlite3 DB
- gorm db ORM
- Frontend
- npm 23.1.0 or higher
- Typescript v5 or higher
- npm package manager
- vite bundler/dev server
- react
mkdir secrets
cd secrets
openssl genrsa -out private_key.pem 2048
openssl rsa -in private_key.pem -outform PEM -pubout -out public_key.pem.pub
export APP_AUTH=<abs_path>/secrets
cd notes-backend/
go mod tidy
go run cmd/main.go