Enkhsanaa / tester-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tester system

A NextJs fullstack app for educational purposes.

Technologies: ReactJs, PostgreSQL, Prisma, DaisyUI (TailwindCSS), tRPC

Prerequisites

  • PostgreSQL instance
  • Node LTS

How to run

1. Install dependencies

npm install

2. Setup env variables

Edit the .env file to set app secrets accordingly. (eg. DATABASE_URL=postgresql://...)

3. Migrate the schema to the database instance

Creates tables defined in the prisma/schema.prisma on the database. This step has to be done only once in the beginning and everytime the schema file gets udpated.

npm run syncDb

4. Run development instance

npm run dev

The website will run on localhost:3000 by default.

Bootstrapped by

This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack.

Tech sources

Also checkout these awesome tutorials on create-t3-app.

How do I deploy this?

Follow our deployment guides for Vercel and Docker for more information.

About


Languages

Language:TypeScript 94.2%Language:JavaScript 5.4%Language:CSS 0.4%