Git Product home page Git Product logo

sharoniv0x86 / tdh-ems Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adityanandanx/tdh-ems

0.0 0.0 0.0 8.4 MB

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.

Home Page: http://designnovation.in/

License: GNU General Public License v3.0

JavaScript 1.02% TypeScript 95.93% CSS 0.57% PLpgSQL 2.48%

tdh-ems's Introduction

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:

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 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 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. For more information about Supabase, visit the Supabase documentation.

tdh-ems's People

Contributors

adityanandanx avatar harsh2509 avatar manvichaudhary55 avatar vivekrawat21 avatar sharoniv0x86 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.