Please install NodeJS.
Please install VSCode extensions:
- Auto Rename Tag
- ES7+ React/Redux/React-Native snippets
- ESLint
- Highlight Matching Tag
- Prettier - Code formatter
- Tailwind CSS IntelliSense
To install dependencies, from ./frontend
folder run the command:
npm install
To update dependencies, from ./frontend
folder run the command:
npm update --save
To start implementing you need to run the development server:
npm run dev
Open http://localhost:5173 with your browser to see the result.
To generate a distributable frontend for serving by the backend:
npm run build
Backend utilizes /queries, /commands, and /docs. Ensure frontend development does not impact these paths.
To generate TypeScript endpoint definition from the backend OpenAPI:
npx openapi-typescript http://localhost:8000/openapi.json --output ./src/services/backend/endpoints.d.ts