/notes-app

A note-app monorepo, backend: go, fronted: reactTS

Primary LanguageGo

Notes-app

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

Development

Dependencies

Backend

Making RSA CERTs required for the JWTs

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 the Absolute path to secrets

export APP_AUTH=<abs_path>/secrets

Starting backend for dev

cd notes-backend/
go mod tidy
go run cmd/main.go