Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 687 Bytes

README.md

File metadata and controls

55 lines (39 loc) · 687 Bytes

Web pro Státnice 2024 na VŠPJ

Run locally

  • Clone repository
git clone https://github.com/Lynder063/statnice.git
  • Go to the directory
cd statnice/

Backend

  • Configure your .env for backend
DB_USER=statnice
DB_HOST=ipOFdb
DB_DATABASE=statnice
DB_PASSWORD='Very Secure Password'
DB_PORT=5432
  • And import SQL dump
psql -U statnice -d statnice -f /structures/dump.sql
  • Start backend
node index.js

Frontend

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3001 with your browser to see the result.