Sito con una bacheca di problemi e la possibilità di inviare soluzioni in markdown e latex
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Antonio De Lucreziis 71280fba5c fix: open graph tags for production (uffa) 2 years ago
client fix: open graph tags for production (uffa) 2 years ago
server fix: open graph tags for production (uffa) 2 years ago
shared refactor: added support for base url using a shared function 2 years ago
.dockerignore fix: maybe faster builds 2 years ago
.env.development feat: add Oauth authentication 2 years ago
.gitignore fix: added BASE_URL support 2 years ago
.npmrc Got working preact SSR 2 years ago
Dockerfile Add Dockerfile 2 years ago
README.md chore: make title modifiable, fix inital db value 2 years ago
index.html fix: open graph tags for production (uffa) 2 years ago
package.json Merge branch 'dev' of https://git.phc.dm.unipi.it/phc/problemi into dev 2 years ago
pnpm-lock.yaml feat: fetch user info using OAuth 2 years ago
server.ts fix: open graph tags for production (uffa) 2 years ago
tsconfig.json fix: added BASE_URL support 2 years ago
tsconfig.node.json feature: Problem sorting, solution view raw toggle button 2 years ago
vite.config.js Better code splitting 2 years ago

README.md

PHC / Problemi

Sito con una bacheca di problemi e la possibilità di inviare soluzioni in markdown e latex.

1. Setup

Installare tutte le dipendenze con il package manager preferito di turno (ed in tal caso sostituire npm con ad esempio pnpm o yarn)

$ cp .env.development .env
$ npm install

2. Development

$ npm run dev

2. Production

$ npm run build
$ npm run serve

Contribuire

Plz esegui il seguente comando prima di fare commit così lo stile del codice è uniforme per tutti

$ prettier -w '**/*.ts' '**/*.tsx'

TODO

  • Autenticazione vera magari con OAuth dell'ateneo o Google