Skip to content

Fontalvo22/to-do-list-cli

Repository files navigation

Installation

The project is easy to run, just should have installed docker and docker-compose.

For quick install in windows, download from here

Then, run these commands:

docker-compose up -d --build

You can configure the app mode in the ".env" file, the variables called "RUN_MODE". This variable can take two values: dev, or production.

When you enter in the dev mode, this activates automatically the run of the unit tests in watching mode and also activates the hot reload.

For you can check the logs and work with the hot reaload, execute:

docker logs -f app

If you are in production mode

With all the containers running, you can interact with the app executing:

Platform command
Windows, using the git bash console docker exec -it app sh
Windows, using CMD or powershell docker exec -it app /bin/bash
Linux docker exec -it app /bin/bash

Then, when you are inside of the docker container, you can see all the app commands using:

node index -h

The only two commands that you can execute without login are: register and login.

All the commands have a small delay (1 sec) for simulate a real net lag and you can look how the spinners works

Before start using the app, try typing:

node index info

Ok, enough, I'll let you interact with the app, if you have any question or need anything, just contact me 😉

About

To do list qorking using CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages