To use the AML API service, make sure you have the following dependencies installed:
- Node.js: version 20.11
- TypeScript: version 5.5.4
- Express.js: version 5.0.0
- npm: version 10.5.0
Make sure you have the following prerequisites installed:
-
PostgreSQL: Ensure that PostgreSQL is installed and running. You will need to configure the DB Properties settings in the environment.
-
Aws credential: Make sure to load the AWS credentials onto the server. You'll need to configure AWS accordingly.
To start the AML API service, follow these steps:
- Install the required dependencies by running the following command:
npm install
- Start the API service by running the following command:
npm run start
To run the unit tests for the AML API service, execute the following command:
npm run test