This is a project for the Supabase Hackaton for the 12th Launch Week.
Team: @Gaëtan H, @RomainSav
The project is a Laser Game on Minecraft, we built a website with NextJS, and a Minecraft Bedrock server with PocketMine-MP
We use differents Supabase Service, such:
- Database for store players games and statistics
- Realtime to show real-time statistics of the ongoing game
- Storage to store heads of players
Need Minecraft Bedrock Edition, copy and paste the IP adress supabase.mcbe.fr
and the port (default) 19132
for connect
Or launch directly Minecraft with added server on clicking "Launch Minecraft" button on the homepage
To run this project, you will need to add the following environment variables to your .env file
Variable | Description |
---|---|
DATABASE_URL |
Your database connection string |
DIRECT_URL |
Direct connection string to your database (often used for migrations) |
SUPER_SECRET_API_MEGA_KEY |
An API key to secure the routes can edit data |
URL |
The base URL for your application |
Web:
- Front-end: Next.js, React, Tailwind CSS, ui/shadcn, Lucide Icons, Day.js
- Back-end: Supabase, Prisma
- Fullstack tools: Zod, TypeScript
Minecraft Server: PocketMine-MP (Software) and PHP 8.1