Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adityanandanx/tdh-ems
The Designnovation Hub has the vision to create impactful technologies innovations and inspire students to innovate and bring fresh perspectives to real-world problems. The club aims to promote design thinking and creativity.
https://github.com/adityanandanx/tdh-ems
ems event-management event-management-system nextjs reactjs shadcn-ui supabase tanstack-react-query
Last synced: 23 days ago
JSON representation
The Designnovation Hub has the vision to create impactful technologies innovations and inspire students to innovate and bring fresh perspectives to real-world problems. The club aims to promote design thinking and creativity.
- Host: GitHub
- URL: https://github.com/adityanandanx/tdh-ems
- Owner: adityanandanx
- License: gpl-3.0
- Created: 2023-11-09T15:27:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T16:04:27.000Z (5 months ago)
- Last Synced: 2024-08-18T16:56:41.589Z (5 months ago)
- Topics: ems, event-management, event-management-system, nextjs, reactjs, shadcn-ui, supabase, tanstack-react-query
- Language: TypeScript
- Homepage: http://designnovation.in/
- Size: 7.65 MB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TDH - Event Management System
## Project Overview
This Event management system is built with Next.js and utilizes Supabase as the backend database. Supabase is set up to run locally using Docker containers. Below are instructions on how to set up, run, and manage the project.
## Setup
### Prerequisites
Before getting started, ensure you have the following installed on your system:
- [Docker](https://docs.docker.com/get-docker/)
- Node.js
- Yarn### Installation
1. Clone the repository to your local machine.
2. Navigate to the project directory in your terminal.### Setting up Supabase Locally
1. Run the following command to start Supabase locally:
```
yarn db:start
```
2. Verify the status of the local Supabase instance:
```
yarn db:status
```
3. Copy the example env file [`.env.example`](./.env.example) to `.env.local`
```
cp .env.example .env.local
```
4. Copy the `API URL` and `anon key` from the output of step 2 and paste it as respective variable in `.env.local` file### Database Migration
1. To generate migration files based on changes in the database schema, run:
```
yarn migration:generate
```
2. Push the generated migrations to the local Supabase instance with the following command:
```
yarn migration:push
```### Starting the Development Server
To start the Next.js development server, run:
```
yarn dev
```## Scripts
- `dev`: Starts the Next.js development server.
- `db:start`: Starts the local Supabase instance using Docker containers.
- `db:stop`: Stops the local Supabase instance.
- `db:status`: Checks the status of the local Supabase instance.
- `db:types`: Generates TypeScript types to the file [`./schema.gen.ts`](./schema.gen.ts) based on the Supabase schema.
- `db:reset`: Resets the local Supabase database.
- `migration:generate`: Generates migration files based on database schema changes.
- `migration:push`: Pushes migration files to the local Supabase instance.## Additional Information
For more information about Next.js, visit the [Next.js documentation](https://nextjs.org/docs).
For more information about Supabase, visit the [Supabase documentation](https://supabase.io/docs).