NOTE: this repo has now merged with the main diggerhq/digger
repo, all active development will happen there
The repository for digger official API.
Note
Digger API currently only supports Frontegg as an authentication provider. Please refer to Frontegg docs for configuration
docker pull diggerdevhq/backend:main
The Digger Docker image requires several required environment variables. You'll need to add the required environment variables listed below to your docker run command Once you have added the required environment variables to your docker run command, execute it in your terminal:
docker run -p 3000:3000 \
-e DATABASE_URL=<your_postgres_url> \
diggerdevhq/backend:latest
- Create the environment files for local development:
2.
echo "DATABASE_URL=postgres://postgres:23q4RSDFSDFS@127.0.0.1:5432/postgres" > .env
3.echo "DATABASE_URL=postgres://postgres:23q4RSDFSDFS@postgres:5432/postgres" > .env.docker-compose
- Start the Docker containers for the database and the API via
docker-compose up
ordocker-compose up -d
which should make it available from http://localhost:3100 - You can also run the API by typing
make start
which should make it available from http://localhost:3000