This repo contains the source code for the following projects:
Follow the relevant links for installation instructions. You can verify that these are installed correctly by running the following commands:
$ node -v # v20.8.1
$ docker -v # Docker version 24.0.6, build ed223bc
$ yarn -v # 3.6.4
We recommend installing the NX CLI globally. This is not required, but it will make it easier to run commands. (if you don't install preface all nx commands with yarn)
We also recommend installing the Nx Console extensions. It provides autocomplete and UI for running tasks and generators (available for both VS Code and Jetbrains).
# Using the official GitHub CLI
$ gh repo clone aliameur/phab-pharmacy
# or using git
$ git clone https://github.com/aliameur/phab-pharmacy.git
$ cd phab-pharmacy
$ yarn
$ cp apps/backend/.env.template apps/backend/.env
$ cp apps/online-store/.env.template apps/online-store/.env
$ nx serve backend
The backend should be running at http://localhost:9000
$ nx serve online-store
The online store should be running at http://localhost:4200.
$ nx run-ios mobile-app # for ios
$ nx run-android mobile-app # for android
$ nx serve admin
The admin panel should be running at http://localhost:4300.
Start the assistant-api
$ nx build assistant-api
$ nx serve assistant-api
Run nx connect to benefit from remote caching and task distribution.
✨ Nx saved over 4hrs of compute time as of Jan 6. ✨
TODO
Contributions are welcome! For detailed instructions on how to contribute, please refer to our Contribution Guidelines.