Skip to content

Latest commit

 

History

History
78 lines (60 loc) · 1.89 KB

README.md

File metadata and controls

78 lines (60 loc) · 1.89 KB

Fullstack task manager

Build Status

Getting Started

  1. Configure your env:

    1.1. Configure ssl and superuser's details:

    cp .env.example .env
    nano .env

    SITE - server domain for SSL certificate

    1.2. Configure SECRET_KEY:

    Create new secret key using terminal

    openssl rand -hex 32
    # Outputs something like: f92797569676a7cccd940e3a3d0f78cc5311e280840832beaa8b0d85cfe0a069

    Copy new secret key to .env.secret

    cp .env.secret.example .env.secret
    nano .env.secret
  2. Install frontend:

    bash scripts/install_frontend.sh
  3. Run:

    • Run with production environment:
      bash scripts/build_frontend.sh
      bash scripts/start.sh

    or

    • Run with development environment:
      bash scripts/start_dev.sh

Tests

Run end-to-end tests

  1. Run tests:
bash scripts/start_e2e_tests.sh
  1. You can see new videos in cypress/videos folder

Run backend integration tests:

bash scripts/start_backend_tests.sh

Api documentation

API documentation available by addresses:

Mailing testing and configuration

Application sends emails within next events:

  • Creation of new user (confirmation letter)
  • Creation of new task (to assigned users)
  • Task edition (to assigned users)

By default app uses local smtp server: http://localhost:8025/

If you want to use real smtp server, you need to edit docker-compose config. Change environment for backend service and remove mailhog service.