Skip to content

dscsnu/stocks-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stocks Backend API

A production-ready REST API backend built with Go, featuring Supabase Postgres, Redis caching, and background job queuing for Stocks App.

Project Structure

├── cmd/
│   └── api/
│       └── main.go          # Application entry point
├── internal/
│   ├── cache/               # Redis cache client
│   ├── config/              # Configuration management
│   ├── database/            # Supabase Postgres connection
│   ├── handlers/            # HTTP request handlers
│   ├── middleware/          # HTTP middleware
│   ├── models/              # Data models
│   ├── queue/               # Background job queue
│   └── server/              # HTTP server setup
├── migrations/              # SQL migrations
├── .env.example             # Example environment variables
└── go.mod                   # Go module file

Setup

  1. Install dependencies: go mod tidy
  2. Run migrations on your Supabase database
  3. Start the server: go run cmd/api/main.go

API Endpoints

  • TBD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages