A template for building a new Pennsieve Serverless Service
- This repo's page on GitHub
has a "Use this template" button. Click the button and select "Create a new repository".
Name the new repository
foo-service - In the new
foo-servicerepo search for theTODOcomments to find names/strings that need to be updated. Usually the update is simply to changetemplate-serverless-servcetofoo-serviceorTemplateServerlessServicetoFooService, etc. - The
TODOcomments mostly only identify where a name is first declared. So fix any compilation errors with the new names. - Replace this README with one for Foo service!
- Go 1.21
- Structured logging: log/slog from the standard library.
- Postgres Driver: jackc/pgx unless you need to interact with a Pennsieve Go library that still uses lib/pq in which case, use that.
- Testing utility: stretchr/testify
- Create and populate prod and non-prod
foo-servicedirectories in Pennsieve/infrastructure - Create prod and non-prod
foo-serviceservice-deploy jobs in Jenkins. - Add new endpoint in Pennsieve/pennsieve-go-api.