Skip to content

ricardoraposo/gopherbank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gopherbank

Gopherbank is a simple bank application with the backend written in Go and frontend in React. It is a learning project for me to learn Go and to learn how to write a web application in Go and orchestrated with Kubernetes.

Showcase video(in Portuguese): https://www.linkedin.com/feed/update/urn:li:activity:7149169538620723200/

Technologies used

Server-Side

  • Golang
  • Fiber
  • Ent.go
  • AWS S3
  • Docker & Kubernetes
  • Prometheus

Client-Side

  • React
  • Tailwind
  • React Query
  • Jotai
  • Zod

How to Run

There is a docker compose file in the project, in order to use it you gotta follow the steps below

  1. Create a .env file, there's a .env.example file inside the project that you can use in order to create your own
  2. Run the command bellow:
docker-compose up --build -d
  1. After the image is built and running, run the commands below to start the db migrations and seed the database with a few accounts and users:
# this will handle the db migration
docker exec gopherbank-backend-1 go run cmd/migration/main.go

# this will insert a few accounts and users, including an admin account for testing
docker exec gopherbank-backend-1 go run cmd/seed/main.go 
  1. Go to your favorite browser and the application should be good and running on localhost:5173/signin

P.S.: So far this is a mobile only app, future additions will be made to support other layouts

About

Banking web-app made with go, typescript w/ react and kubernetes. It tries to mimic some of the biggest digital banks such as picpay, nubank or inter.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages