command
module
Version:
v0.0.0-...-a771440
Opens a new window with list of versions in this module.
Published: Nov 18, 2023
License: MIT
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Bank of Asia
one bank, all assets.
Progress
- Postgres DB schema
- Migration support using
golang-migrate
- Makefile for docker container creation, db up/down migrations
- Tests for DB transactions, preventing deadlocks
- Git workflow for tests for
main
branch
- Server routes (+ tests) for
account
related functionality
- Server routes (+ tests) for
transfer
related functionality
- JWT token authentication
- PASETO token authentication
users/login
for user login using PASETO token authentication
- PASETO token authentication for
/accounts
, /transfer
routes
- Dockerfile (multi-stage to reduce image size)
- Docker Compose file to migrate and start DB before running main api
- Set Up AWS (RDS, Secrets Manager, IAM User/User Groups, etc.)
- CI workflow to deploy Docker image to AWS Container Registry using OpenID Connect
- Set up EKS configurations to automatically authenticate, deploy, set up ingress, issue & renew TLS certificates
- Add support for both access tokens & refresh tokens for user login
- Add integration tests for user login
- Add dbdocs integration
- gRPC server & HTTP Gateway server using protobufs
- evans support to ease development & testing
External Packages
sqlc
to translate SQL into Go code
testify
to ease test writing
migrate
to migrate DB versions up/down
viper
to read/set env & configuration variables
o1egl/paseto
to add PASETO token authentication
TODO Backlog
- Add tests for all errors of
/transfers
to gain full coverage
- Add tests for all errors of
/users
to gain full coverage
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
db
|
|
mock
Package mockdb is a generated GoMock package.
|
Package mockdb is a generated GoMock package. |
|
|
|
|
Package pb is a reverse proxy.
|
Package pb is a reverse proxy. |
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.