- Clone repository
git clone https://github.com/Lynder063/statnice.git
- Go to the directory
cd statnice/
- 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
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.