- Node.js 22+
- Docker and Docker Compose
git clone https://github.com/iiojib/presight-execise.git
cd presight-execise
cp .env.example .env # Adjust as needed
npm install
npm --ws run build
docker compose up --buildBy default, the application will be available at http://localhost:8080.
You can change the port in the .env file.
- VS Code with Dev Containers extension
- Docker and Docker Compose
git clone https://github.com/iiojib/presight-execise.git
code presight-execise # Or open in VS Code manuallyCtrl+Shift+P/Cmd+Shift+P->Dev Containers: Reopen in ContainerCtrl+Shift+P/Cmd+Shift+P->Tasks: Run Task->Migrate DatabaseCtrl+Shift+P/Cmd+Shift+P->Tasks: Run Task->Start APICtrl+Shift+P/Cmd+Shift+P->Tasks: Run Task->Start Client
Browser: http://localhost:8080
- Node.js 22+
- PostgreSQL
- migrate CLI
git clone https://github.com/iiojib/presight-execise.git
cd presight-execise
cp .env.example .env # Adjust as needed
npm install
npm run env:migrate:upIn separate terminals:
npm -w server run devnpm -w client run dev