/maca-assessment

A mono repo web app that allows an employee to submit required information for a purchase

Primary LanguageTypeScript

Maca Assessment

A mono repo web app that allows an employee to submit required information for a purchase

Getting the App Locally

  1. Clone this repository with this command
git clone https://github.com/Smeks-ops/maca-assessment.git

Installing the App

  1. Install dependencies with this command in the home folder, the api-server folder and the client folder
npm install or yarn 
  1. Ensure you have the local .env file for configuration parameters. A sample.env file is shown in the api-server folder directory for guide.

  2. Run the client and api-server concurrently from the parent folder using

npm run start or yarn start

Running tests

# unit tests
cd system
cd api-server
$ npm run test

# e2e tests
cd system
cd client
$ npx cypress open