Prime clinic is a platform to manage private clinic. The key feature of the project - videochat with doctor.
The backend stack:
- Java 8 - main language
- Spring boot - rest api framework
- PostgreSQL - database
- Flyway - database migrations
- Swagger - documentation
- Firebase - extra database for chat
- Manage clinic staff
- Doctor is able to explose client medical cart
- Clients are able to find all the required information about clinic, payment etc.
- Clients are able to take an online appointment using chat or videochat
Prime clinic requires Java 8 and Maven to run.
- Run this command from the command line
./mvnw dependency:go-offline -B
- And then this from the project root
java BackendApplication -dev
Primedoc is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 8080, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.
cd primeclinic
docker build -t <youruser>/dillinger:${mvn} .
This will create the primedoc image and pull in the necessary dependencies.
Be sure to swap out ${mvn}
with the actual
version of Dillinger.
Once done, run the Docker image and map the port to whatever you wish on your host. In this example, we simply map port 8000 of the host to port 8080 of the Docker (or whatever port was exposed in the Dockerfile):
docker run -d -p 8000:8080 --restart=always --cap-add=SYS_ADMIN --name=primecoc
<youruser>/primedoc:${mvn}
Verify the deployment by navigating to your server address in your preferred browser.
127.0.0.1:8000
MIT