Frontend application providing GUI build in React.js. Whole frontend is writen in Typescript.
- Node.js (>=20)
- Docker (>=26.0.1)
- Docker compose (>=2.26.1)
While development it is required to have Postgres database and Backend running. It can be runned by prepared docker-compose.yaml
file. This development environment can be started by command:
docker compose up -d
It will run pgAdmin on port 8082 and database on port 5432 and backend on port 8080 and internal api on port 8081 (not used in frontend).
After database and backend is running, you can start development server by commands:
npm install
(only if you didn't run it before or you modifed package.json file)npm run generate-openapi
(only if you need generate openapi without starting/buildin app)npm start
React App will start in development mode on port 3000.
Name | URL | Description |
---|---|---|
Backend | http://localhost:8080/api | API |
Backend Health check | http://localhost:8080/api/health | Health check |
Backend Swagger Api | http://localhost:8080/api/api-docs | OpenApi 3 documentation |
Backend - internal | http://localhost:8081/internal | API (not used in frontend) |
Backend Health check - internal | http://localhost:8081/internal/health | Health check (not used in frontend) |
Backend Swagger Api - internal | http://localhost:8081/internal/api-docs | OpenApi 3 documentation (not used in frontend) |
maildev | http://localhost:8083 | Development email server |
pgAdmin | http://localhost:8082 | Database administration. Username: [email protected] Password: cookery2123 |
Frontend | http://localhost:3000 | React GUI. Username: Test Password: Test1234 |
There is provided Dockerfile and sh script build-image.sh. You can use this script to build docker image.
Project is licensed under MIT License. There are 3rd party libraries which can be part of builded docker images. List of this libraries can be found in LIBRARIES. Other than that this project use development libraries too. Please look at package.json if you are interested in complete list of direct dependencies of this project.
If added new dependencies, list of used libraries can be updated using this script
npm run licenseReport
WHILE RUNNING IT WILL INSTANLL GLOBALLY license-report LIBRARY