modulepackage
0.0.0-20240804103719-b481c676c31e
Repository: https://github.com/gretchelg/go_budgetapp.git
Documentation: pkg.go.dev
# README
Go Budget App
This is the budget app BE
Prerequisites
- Golang (official download, brew)
- (optional) golangci-lint (brew, official quickstart)
- (optional) goimports (official page)
Usage
- Install Dependencies
make install
- Run
make run
Endpoints
Try any of the below
Transaction
endpoint localhost:3000/api/v1/transaction
- list all transactions
GET localhost:3000/api/v1/transaction
- get one transaction by ID
GET localhost:3000/api/v1/transaction/6tsn-Mmmv-fpZS-k2Bv
- create transaction
POST localhost:3000/api/v1/transaction
- update transaction
PATCH localhost:3000/api/v1/transaction/6tsn-Mmmv-fpZS-k2Bv
User
endpoint localhost:3000/api/v1/user
- list all users
GET localhost:3000/api/v1/user
Dependencies
- Go-Chi is the HTTP server framework used (official website, github)
- mongo-go-driver is the official database driver by MongoDB (github)
# Packages
No description provided by the author