Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1022 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 1022 Bytes

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