bca-json

module
v0.0.0-...-e5601fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: MIT

README

Budget Control Application

Tech Stack

Go Postgres

Editor

Neovim

Socials

X GitHub built with Codeium

Installation

Environment Variables

Variable Type Description
PORT String Port the application listens on
DB_HOST String Database host address
DB_PORT String Database port
DB_USER String Database user name
DB_PASSWORD String Database user password
DB_NAME String Database name
JWT_SECRET String JWT secret key

Routes

Unauthenticated Routes
Route Method Description
*/api/v2/companies POST Register a new company
/api/v2/login POST Login a user
Authenticated Routes
Route Method Description
/api/vw2/bca/users GET Get all users
/api/vw2/bca/users POST Create a new user
/api/vw2/bca/users/me GET Get the current user
/api/vw2/bca/users/{id} GET Get a user
/api/vw2/bca/users/{id} PUT Update a user
/api/vw2/bca/users/{id} DELETE Delete a user

Directories

Path Synopsis
internals
src
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL