This is an admin web application created to
- Support the Electronic version of the MCH Booklet that leverages the Android FHIR SDK
- Support Administration Functionality such as user management, reporting etc of the same application.
yarn dev
Production
To run a production build
- Docker
- Docker Compose
Use Docker and docker-compose to build and run the images for the entire project or just for the respective repos.
docker-compose up -d --build
This should bring up the following application.
NOTE: By default, the application will be exposed on ports 8080 and 8081
http://[YOUR-IP-HERE]:8081 - Web UI for the application. http://[YOUR-IP-HERE]:8080 - Swagger UI Docs for the application's API.
docker build -t ./ui or yarn docker:build:ui
docker build -t ./api or yarn docker:build:api
Confirm the services are up and running.
docker-compose ps
If this is the case. Ensure to run Prisma migrations to apply any pending database schema changes with
./api/run-dev-migrations.sh