mirror of
https://gitlab.fhnw.ch/ip34-hs25/ip34-hs25-publicdisplaysystem/frontend.git
synced 2026-03-19 02:57:32 +01:00
No description
https://admin.brot.zuerich
- TypeScript 98.4%
- HTML 0.8%
- JavaScript 0.5%
- Dockerfile 0.3%
91 show two prices See merge request ip34-hs25/ip34-hs25-publicdisplaysystem/frontend!26 |
||
|---|---|---|
| public | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .npmrc | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| README.MD | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
PDS Frontend
Installation
Install dependencies:
npm install
Create a .env file with the following content:
VITE_API_URL=http://localhost:8080
Starting
Running the development server:
npm run dev
Building for production:
npm run build
Running the production server:
npm run start
Build an Image
To build the docker image that contains the frontend, simply run the following command.
docker build -t pds/frontend .
The image can be used for deployment and testing.