My Information Go Backend | Harsh Mittal

Backend API written in Go to save user Bank Account and Card details

View project on GitHub

Go My Information Backend API

Simple Backend Application Written in Go to user personal account and cards details.

Things Supported:

  • CRUD Operation
  • JWT Based Authentication
  • JSON Validation
  • Paginated Response
  • SQLC For modules generation
  • Goose for Database Migration
  • Air Integration to Test in Dev ENV
  • Swagger Integration

Swagger Documentation

Swagger Documentation

Swagger Documentation of Models

Future Scope

  • Encryption & Decryption Support
  • Multiple APIs for different uses

Setup

Note: Make sure you have create a database in Postgres called go_my_info

go mod tidy
cd sql/schema
goose postgres postgres://<user_id>:<user_password>@localhost:5432/go_my_info up

cd ../..
go build ./cmd/main.go && ./main

Dev Env

air