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.
 
 
 
 
 
Francesco Minnocci ce66efe4a8
Add Dockerfile
2 years ago
client feature: Problem sorting, solution view raw toggle button 2 years ago
server Almost MVP 2 years ago
shared feature: Problem sorting, solution view raw toggle button 2 years ago
utils Ora il db funge più veramente e si possono inviare i problemi 2 years ago
.dockerignore Add Dockerfile 2 years ago
.gitignore Initial commit, frontend with PreactJS and hash routing, backend with PolkaJS 2 years ago
.npmrc Got working preact SSR 2 years ago
Dockerfile Add Dockerfile 2 years ago
README.md Pagina admin con creazione problemi e pagina utente personale 2 years ago
index.html Refactoring to Typescript... 2 years ago
package.json Almost MVP 2 years ago
pnpm-lock.yaml Almost MVP 2 years ago
server.ts Add Dockerfile 2 years ago
tsconfig.json Almost MVP 2 years ago
tsconfig.node.json feature: Problem sorting, solution view raw toggle button 2 years ago
vite.config.js Intermediate refactoring... 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)

$ npm install

2. Development

$ npm run dev

2. Production

$ npm run build
$ npm run serve

TODO

  • Pagina profilo utente

    • Lista soluzioni inviate (con stato delle soluzioni: approvate o rifiutate)
  • Pagina dell'admin

    • Lista delle soluzioni non corrette
    • Creazione nuovi problemi
  • DBv2

    relations: [
        {
            from: 'Solution'
            name: 'for'
            to: 'Problem'
            entries: [
                ['LRLAH2NoLFQAQHQgz', '1']
                ['JzyiDnwRCrkpzLL8W', '1']
                ['FFYMJjP2yr4ohdmdT', '2']
                ['VFHTb8fSrLOkPNVFx', '2']
            ]
        }
        {
            from: 'User'
            name: 'owns'
            to: 'Solution'
            entries: [
                ['aziis98',    'LRLAH2NoLFQAQHQgz']
                ['aziis98',    'JzyiDnwRCrkpzLL8W']
                ['BachoSeven', 'FFYMJjP2yr4ohdmdT']
                ['BachoSeven', 'VFHTb8fSrLOkPNVFx']
            ]
        }
    ]