backend

module
v0.0.0-...-31c068b Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0

README

Lerno backend

This Go service is used to receive topics from users and process them into Lerno lessons. It uses Anthropic's API for lesson generation, and an SQL database (shout out to Supabase!) as a persistency layer.

Deployment

Using Go directly
  1. Clone the repo and install all dependencies using go mod tidy
  2. Rename the .env.example file into .env and make the necessary modifications
  3. Start the service go run cmd/server/main.go
Using Docker
  1. Just build the image docker build -t lerno-backend .

Directories

Path Synopsis
cmd
internal
api

Jump to

Keyboard shortcuts

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