Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

DevOps-Drengene/minitwit-backend

Repository files navigation

Minitwit Backend: The DevOps Drengene Flavor

Re-implemented in Node.js, the dull choice for backend.

Using Minitwit Backend (local)

Compile flag_tool.c (currently unsupported):

$ make build

Inspect database (currently unsupported):

$ ./control.sh inspectdb

Flag message (currently unsupported):

$ ./control.sh flag [message-id]

Setup and run integration tests

  1. Build and run the full Docker setup as described in the root repository to bring up the application.

  2. Install pytest with the following command (first time only):

    $ pip install -U pytest
  3. Install local testing dependencies inside src folder with the following command (first time only):

    $ pip install requests
  4. Start simulator tests inside src with the following command:

    $ pytest

Note: The test can only run the test once, and then you have to restart the Docker setup to wipe the database clean.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published