/fantastig

Primary LanguageTypeScript

FANTASTIG

Character tracking app

Project dependencies

Nextjs

NextAuth

Typescript

Prisma

Postgres

TailwindCSS

Twin.Macro

Styled Components

How install project

  • Install all dependencies first
yarn install
  • Create database fantastig and create role fantastig. Make that this role has permission to create databases

  • Migrate database to the latest schema

npx prisma migrate dev
  • Seed data with initial information
npx prisma db seed --preview-feature
  • Create .env file in the root of the project and add following information
NEXTAUTH_URL="http://localhost:3000"
DATABASE_URL="postgres://fantastig:@localhost:5432/fantastig?schema=public"
DISCORD_CLIENT_ID=YOUR_DISCORD_CLIENT_ID
DISCORD_CLIENT_SECRET=YOUR_DISCORD_CLIENT_SECRET

If you don't have discord application client id and secret follow this link to sign up for developer access and create an app