laclipasa

package module
v0.0.0-...-4efd307 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

la-clipasa

Subreddit replacement for r/caliebre

Visit at https://laclipasa.fly.dev/

alt text

Featuring:

  • Twitch OAuth integration
  • Discord as CMS for user uploads
  • Extraction tools for existing subreddit content

Base system design

Go backend with PostgreSQL and responsive PWA React frontend. The backend integrates with Twitch via OAuth2, leverages Discord as a CMS, and internally authenticates with access/refresh tokens with rotation. The API layer is mostly GraphQL generated by ent, entgql and gqlgen, with the frontend consuming it via generated client code.

Deployments are made automatically to fly.io upon successful testing. Supabase migrations done on app startup.

TODO: Contributing

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntgqlTemplates embed.FS
View Source
var FrontendBuildFS embed.FS
View Source
var Migrations embed.FS

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
discord-upload command
initial-data command
reddit-json-api command
reddit-pullpush command
rest-server command
ent/privacy/token
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up
ent/privacy/utils
Package utils is a helper for working with ent policies
Package utils is a helper for working with ent policies
ent/schema
file: internal/ent/schema/refreshtoken.go
file: internal/ent/schema/refreshtoken.go
*
gql
models
nolint: tagliatelle
nolint: tagliatelle

Jump to

Keyboard shortcuts

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