To get started with Expression, follow these steps:
-
Clone the repository
-
Install the dependencies:
npm install
-
Set up the MySQL database and update the configuration in
src/config/database.ts
. -
Build the TypeScript code:
npm run build
-
Run the microservice:
npm start
-
Access the API endpoints at
http://localhost:3000
.
To run the unit tests for the microservice, use the following command:
npm test
The unit tests are written using the Jest testing framework and cover critical functionality and edge cases.
The repository also includes API tests using Bruno:
npm run bruno