Installation manuelle (développement local)
Prérequis
- Node.js v20+
- SQLite (ou configurez une autre
DATABASE_URL) - npm
Étapes
-
Clonez le projet :
git clone https://github.com/invoicerr-app/invoicerr.gitcd invoicerr -
Configuration du backend :
cd backendnpm installnpx prisma generatenpm run start -
Configuration du frontend, dans un nouveau terminal :
cd frontendnpm installnpm run start -
Ouvrez dans votre navigateur :
- Frontend :
http://localhost:5173 - API :
http://localhost:3000
- Frontend :
Lancer les tests end-to-end (Cypress)
-
Démarrez le backend et le frontend avec les variables d'environnement de test :
cd backend && npm run start:test &cd frontend && npm run start:test &Assurez-vous d'avoir un fichier
.env.testdans chaque dossier. -
Dans un autre terminal, lancez Cypress :
cd e2enpm installnpm run e2e:open # ou npm run e2e:run
En CI, le workflow GitHub Actions exécute ces étapes automatiquement.