Optin reporting tools allow the user to view, export csv or search for specific optin records.
Folder Name | Description |
---|---|
/src/client | Frontend web application. |
/src/controllers | Controllers for handling application logic and querying databases. |
/src/data | Data storage for sqlite database files, consumed by the backend services. |
/src/models | Database models where data access logic resides. |
/src/routers | Routers for REST API endpoints. |
/src/utils | Utility functions such as validations and conversions. |
Node.js 16.x or later.
-
Clone the project.
git clone https://github.com/symbol/product.git cd ./product
-
Initialize the git submodules (skip this part if already done)
bash ./init.sh
-
Navigate to
optin/reporting
folder.cd optin/reporting
-
Install the required dependencies.
npm install
-
Start server.
npm run start
Build docker image
# inside the optin/reporting folder
docker build --platform x86_64 -t <imageName> .
npm run test