What is PharmTech?
- PharmTech is a full-stack pharmaceutical web application that allows pharmacists, doctors, and drug manufactures to update inventory, send patient prescriptions, request inventory and more!
Docker
v19.03.13 or higherDocker-compose
v1.27.4 or higherNode.js
v16.15.1 or highernpm
v6.14.9 or higheryarn
v1.22.5 or higher
- Build docker image:
$ ./First_Run.sh
- Start docker container
$ ./Start_PharmTech
- Deploy Frontend & Backend (Using Docker) ➡
$ docker compose up
- or Backend ONLY ➡
$ cd PharmTech/backend; yarn run dev
- or Frontend ONLY ➡
$ cd PharmTech/frontend; yarn start
- AWS Management Console
- Create RDS MySQL Database
- Create EC2 Linux Instance
- Install the following within EC2 Linux Instance:
Node.js
+npm
+yarn
Docker + Docker-Compose
- clone project repository
- Within the
PharmTech/backend
folder, create.env
file & enter cloud database credentials :
MYSQL_DB=
MYSQL_PORT=
MYSQL_CLOUD_USER=
MYSQL_CLOUD_PASS=
MYSQL_CLOUD_HOST=
- Deploy Frontend & Backend (Using Docker) ➡
$ docker compose up
- or Backend ONLY ➡
$ cd PharmTech/backend; yarn run dev
- or Frontend ONLY ➡
$ cd PharmTech/frontend; yarn start