Skip to content

v1ctorio/hackclub-birthdays

Repository files navigation

Hack Club Birthdays !

powered by Gleam

Birthdays website built using the gleam functional programming language. The most tedious part was the backend. There is a simple non feature complete frontend that I ought to improve.

Development

  1. fill the .env (based on the .env.example)
  • Database
    • podman compose -f compose-dev.yml up to start it, or start a local postgres based on the config in there
  • start the backend
    • cd server; gleam check
    • set -a && source ../.env && set +aamp;& set +a to load the env vars
    • gleam run
  • start the frontend (separate component)
    • cd frontend; gleam check
    • gleam run -m lustre/dev start

The app will be ready in localhost:1234

TODO

Backend

  • log in with HCA
    • extract the slack_id and sub from HCA oidc oauth
    • store them in jwt
  • authenticate the endpoints to manipulate birthdays
  • Set and edit birthdays
  • Allow null inputs to delete birthdays/personal channels
  • allow non-slack oauth
  • proper beautiful frontend

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

No packages published