https://github.com/eliteengineer0/scacchi-belli-public
https://github.com/eliteengineer0/scacchi-belli-public
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/eliteengineer0/scacchi-belli-public
- Owner: EliteEngineer0
- Created: 2024-03-30T17:38:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T18:09:18.000Z (over 2 years ago)
- Last Synced: 2025-07-01T09:05:08.942Z (about 1 year ago)
- Language: Vue
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scacchi Belli's public repository
A nuxt app built with vue and tailwind front-end, and with nitro unjs on the backend. The database is handled by prisma
therefore it supports most databases if setup correctly, however the project is intended for postgresql.
Authentication is done with JWT tokens. Passwords are hashed.
# Build
It's important to have all the enviroment variables setup to make it work.
```
TOKEN_SECRET = "..."
TOKEN_NAME = "..."
TOKEN_EXPIRES = "..."
DATABASE_URL = "[...]://postgres:[...]@[...]:5432/[...]"
```
## Install the packages
```
pnpm i
```
## Build prisma
```
pnpm prisma generate
pnpm prisma db push
```
### Finally...
## For development
```
pnpm run dev
```
## For deployment/production
```
pnpm run build
```
### You can also locally preview the production build
```
pnpm run preview
```