Configure and Run the Application
Last updated
Was this helpful?
Last updated
Was this helpful?
The application configuration files are present under the directory.
The configuration file read varies with the environment:
Development:
Sandbox: config/sandbox.toml
Production: config/production.toml
Refer to for all the available configuration options. Refer to for the recommended defaults for local development.
Ensure to update the file if you opted to use different database credentials as compared to the sample ones included in this guide.
Once you're done with configuring the application, proceed with .
Compile and run the application using cargo
:
If you are using nix
, you can compile and run the application using nix
:
Verify that the server is up and running by hitting the health endpoint:
If the command returned a 200 OK
status code, proceed with trying out our APIs.