Getting Started
This guide will help you set up the SREDSimplify frontend locally for development.
Prerequisites
- Node.js: v20 or higher
- npm: v10 or higher
- A running instance of the Backend service.
Installation
- Navigate to the
frontenddirectory:bashcd frontend - Install dependencies:bash
npm install
Development
To start the development server:
bash
npm run devThe application will be available at http://localhost:3000.
Available Scripts
| Command | Description |
|---|---|
npm run dev | Starts the Next.js development server. |
npm run build | Builds the application for production. |
npm run start | Starts the production server. |
npm run lint | Runs ESLint checks. |
npm run typecheck | Runs TypeScript compiler checks without emitting files. |
npm run test:unit | Runs unit tests using Vitest. |
cd docs && npm run docs:dev | Starts the VitePress documentation server locally. |