Skip to content

Samagra-Development/Doc-Generator

Repository files navigation

About

The Doc-Generator is an easily integrable and reusable tool built on open-source software (OSS). It provides seamless generation of single and bulk documents in various available formats, ensuring interoperability. Additionally, it offers the following features:

  • Upload the generated documents to CDN, Google Drive, S3, or a custom sink.
  • Generate a shortened URL for the uploaded file for easy file sharing.

The project is built on a plugin model, which ensures customizability and wide adoption.

C4GT 2023

Running the app

# Copy env file
$ cp .env.copy .env
# Specify the local compose file
$ docker-compose -f docker-compose.local.yml up -d --build

# For production
$ docker-compose up -d --build

Check if all the containers are running using docker ps

Test

# Run unit tests
$ yarn run test

# Run end-to-end tests
$ yarn run test:e2e

# Generate test coverage
$ yarn run test:cov