To access the internal dependencies, you need to set up ssh keys to access Pizzi's github repositories.
yarn installgit clone git@github.com:PizziPayment/PizziBackDeploymentTools.git
cd PizziBackDeploymentTools
docker compose up db -d
cd -git clone git@ggithub.com/PizziPayment/PizziAPIDB.git
cd PizziAPIDB/deploy
yarn install
yarn start table recreate
cd -You should now be able to launch the resource server:
yarn run startThe API can be configured through the environment or config files. Environment variables override config files values.
Config files must be inside the config folder.
custom-environment-variables.jsonmaps the environment variable names into the configuration structure.default.jsondefines default value.
Other config file can be added if needed, see
- Go through the first step of the Setup database if you haven't.
yarn run test