Skip to content

Added Supabase and Admin Dashboard, with built in Submission form not google form#15

Open
Jervi-sir wants to merge 12 commits intoalgeria-ecosystem:mainfrom
Jervi-sir:with-supabase-n-admin
Open

Added Supabase and Admin Dashboard, with built in Submission form not google form#15
Jervi-sir wants to merge 12 commits intoalgeria-ecosystem:mainfrom
Jervi-sir:with-supabase-n-admin

Conversation

@Jervi-sir
Copy link

@Jervi-sir Jervi-sir commented Jan 2, 2026

This version requires the following

  • supabase account
  • add necessary .env variables (please reffer to README.md file in the repo)

here is a demo here using my account supabase account demo

admin credential accounts: email: test@test.com, password: password

Backend & Database

  • Initialized Supabase project.
  • Defined a new SQL schema (entities, entity_types, wilayas, etc.) with proper relationships and foreign keys.
  • Created schema_init.sql migration for reproducible database setup

Data Migration:

  • Added a TypeScript seeding script ( scripts/seed.ts ) to parse existing JSON data (startups, incubators, etc.) and populate the Postgres database.
  • Implemented logic to handle relationships (e.g., entity categories, media types).

Authentication:

  • Integrated Supabase Auth to secure administrative routes.

Admin Dashboard:

  • Created a protected Admin Dashboard for managing database entries.
  • CRUD to all the necessary tables
  • approved submitted entries

Edge Functions:

  • Set up Supabase Edge Functions for performant, server-side logic execution.

overall api that are being handled

  • CRUD for all of tables
  • List entities by types, and filter them by category or media type, while being paginated
  • Submit new entry

I have tested all the project again and worked stable, here is the demo

If something happened, you can DM me over instagram: @gacem_humen, or LinkedIn

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for algeria-ecosystem ready!

Name Link
🔨 Latest commit e56c957
🔍 Latest deploy log https://app.netlify.com/projects/algeria-ecosystem/deploys/69582fbed02b190009a365d0
😎 Deploy Preview https://deploy-preview-15--algeria-ecosystem.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Jervi-sir Jervi-sir changed the title With supabase n admin Adding Supabase and Admin Dashboard, with internal Submit not google form Jan 2, 2026
@Jervi-sir Jervi-sir changed the title Adding Supabase and Admin Dashboard, with internal Submit not google form Added Supabase and Admin Dashboard, with internal Submit not google form Jan 2, 2026
@Jervi-sir Jervi-sir changed the title Added Supabase and Admin Dashboard, with internal Submit not google form Added Supabase and Admin Dashboard, with internal Submit not google form Jan 2, 2026
@Jervi-sir Jervi-sir changed the title Added Supabase and Admin Dashboard, with internal Submit not google form Added Supabase and Admin Dashboard, with built in Submission form not google form Jan 2, 2026
@HouariZegai
Copy link
Contributor

Thank you very much for the effort and work put into this PR @Jervi-sir.

Major architectural changes like adding a backend and an admin dashboard should be discussed first by opening an issue (As mentioned in the contribution guidelines file).

At this stage, we’re not sure that introducing a backend is the right direction. Our initial goal is to keep things simple and rely on JSON files, which makes data contribution easier and more accessible for everyone.

But, we can open an issue to discuss the possibility of introducing a backend and whether via Supabase or backend API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants