Skip to content

Truly-Depressed-Developers/hackyeah2025

Repository files navigation

Motivation

App was created at Hackyeah 2025 Hackathon

  • Topic: Digital Volunteer Center by Miasto Kraków
  • Timeframe: 04-05.10.2025, 24 hours

AI Backend link

https://github.com/tobi303x/HAckYeah-Ai-Backend

Tech Stack

NEXT.JS

REACTJS

TYPESCRIPT

TAILWIND

SHADCN

POSTGRESQL

DRIZZLE

TRPC

Authors

License

This project is licensed under MIT license.

Development

Prerequisites

  1. Node JS 22, version 22.14.0 or later
  2. pnpm package manager (installation guide)
    1. For people of restiance npm install -g pnpm@latest-10

Installing the dependencies

Run pnpm install to install all the necessary dependencies for the project

Setting up env vars

Create a new file that is not tracked by git, .env in the root of the project. Make sure to populate it will all the required environmental variables (example of those with corresponding values can be seen in .env.example). (yes, you can just copy it)

If you add a new env var to the application, please describe it in .env.example file as well

Starting the development server

Run pnpm run dev to start a developer server at http://localhost:3000

Working with Database

Project is using a PostgreSQL database. ./start-database.sh contains an example docker-compose file for running the database locally.

Modifying the schema

schema.ts contains the schema of the database, as well as information about the providers, adapters and generators. You are free to modify the schema to suit you needs.

When you want to test if the schema you created works as expected, you can use pnpm db:push to update your database schema and generate prisma client, without create a new migration. Use it for prototyping until you are sure that your changes work flawlessly.

When finished, you need to make your schema changes persistant by running pnpm db:generate to create a new migration. Treat migrations as commits in Git - each migration should represent an unit of work.

Warning

Migration files should not be edited manually. Content of drizzle/ is auto-generated and any changes to it might be overwritten.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •