Skip to content

DigitalForge-Dynamics/Trace

Repository files navigation

Trace - Transparent PNG

Documentation

https://docs.traceassets.com

Database Development

To start development on the database, please configure the following .env.docker.development environment file with any credentials to configure the hosted Database.

Once this is done, you'll need to configure the API environment variables with the same credentials to allow it to connect to the database. You can find the structure below.

API Environment Variables

These are the needed environment variables to run up the API service for trace.

## Database Credentials
API_DATABASE_NAME=""
API_DATABASE_USERNAME=""
API_DATABASE_PASSWORD=""
API_DATABASE_HOST=""

## Redis Credentials
API_REDIS_HOST=""
API_REDIS_PASSWORD=""

## Application Variables
API_PORT=
API_SEED_DATABASE="true" # Only to be set if in a trusted environment. Has security implications.

API Integration Tests

API_SEED_DATABASE=true npm start
npm run test:integration

Git Hooks

In order to configure the running of existing pre-commit and pre-push hooks, run within the Git Repository

git config core.hooksPath hooks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages