A mono repo web app that allows an employee to submit required information for a purchase
- Clone this repository with this command
git clone https://github.com/Smeks-ops/maca-assessment.git
- Install dependencies with this command in the home folder, the api-server folder and the client folder
npm install or yarn
-
Ensure you have the local .env file for configuration parameters. A sample.env file is shown in the api-server folder directory for guide.
-
Run the client and api-server concurrently from the parent folder using
npm run start or yarn start
# unit tests
cd system
cd api-server
$ npm run test
# e2e tests
cd system
cd client
$ npx cypress open