Manual Installation (Local Development)
Prerequisites
- Node.js v20+
- SQLite (or configure another
DATABASE_URL) - npm
Steps
-
Clone the project:
git clone https://github.com/invoicerr-app/invoicerr.gitcd invoicerr -
Backend setup:
cd backendnpm installnpx prisma generatenpm run start -
Frontend setup, in a new terminal:
cd frontendnpm installnpm run start -
Open in your browser:
- Frontend:
http://localhost:5173 - API:
http://localhost:3000
- Frontend:
Running end-to-end tests (Cypress)
-
Start the backend and frontend with the test environment variables:
cd backend && npm run start:test &cd frontend && npm run start:test &Make sure you have a
.env.testfile in each directory. -
In another terminal, run Cypress:
cd e2enpm installnpm run e2e:open # or npm run e2e:run
In CI, the GitHub Actions workflow runs these steps automatically.