✨ This workspace uses Nx ✨
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.4We 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).
- Clone the repo:
# Using the official GitHub CLI
$ gh repo clone aliameur/phab-pharmacy
# or using git
$ git clone https://github.com/aliameur/phab-pharmacy.git- Install the dependencies:
$ cd phab-pharmacy
$ yarn- Populate environment variables
$ cp apps/backend/.env.template apps/backend/.env
$ cp apps/online-store/.env.template apps/online-store/.env$ nx serve backendThe backend should be running at http://localhost:9000
$ nx serve online-storeThe 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 adminThe admin panel should be running at http://localhost:4300.
$ nx build assistant-api
$ nx serve assistant-apiRun 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.