Skip to content
KAVISHTOLANIPublic

About

MUN Atlas — a platform for Model United Nations: discover MUNs, committees, people and a calendar, with a library and admin tools. Next.js + TypeScript + Supabase.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MUN Atlas

Local setup

  1. Create a Supabase project.
  2. Apply supabase/migrations/202608260001_initial_atlas.sql in the Supabase SQL editor.
  3. Copy .env.example to .env.local and supply the project URL and anon key.
  4. In Supabase Auth → Providers → Email, disable Confirm email to match the product requirement for immediate Gmail/password access.
  5. Promote the first trusted user with update public.profiles set role = 'admin' where id = 'USER_UUID';.
  6. Run npm run dev.

Public pages use a 60-second revalidation policy. Server mutations revalidate the committee shelf and index immediately. Add a Supabase Database Webhook to call a protected revalidation endpoint when content is edited outside the app.

About

MUN Atlas — a platform for Model United Nations: discover MUNs, committees, people and a calendar, with a library and admin tools. Next.js + TypeScript + Supabase.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages