Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.45 KB

README.md

File metadata and controls

64 lines (52 loc) · 1.45 KB

MaFuYu ❄️

Technologies

  • Rust
  • Typescript
  • Go
  • SvelteKit
  • gRPC (+web)
  • NATS
  • Docker
  • Caddy
  • Postgres
  • Redb
  • Redis
  • GORM
  • SeaORM
  • Sentry
  • Tracing(Rust) + Zerolog(Go)
  • Clap + Indicatif (CLI)

Development

There are features that work only with appropriate env secrets. They should be set, if you want to have these features enabled.

Features:

  • OAuth2 (Github, Google)
  • Email confirmation via Gmail
  • Telemetry (Sentry)

CLI

    # Init project: generate necessities
    pnpm initp
    
    # Run dev mode
    pnpm cli dev
    
    # Generate grpc files
    pnpm cli grpc
    # or more specific prompt
    pnpm grpc:rs # for Rust
    pnpm grpc:go # for Go
    pnpm grpc:ts # for Typescript

    # Migrate db
    task migrate:db

Requirements:

    go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
    go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
    pnpm i -g @protobuf-ts/plugin