Codeduo assignment task application
The application is split into two parts, api (in GO) for api server and ui for the frontend appllication ( in React ).
To setup and run the api server,
- Run
cd apiand rungo mod tidyorgo getto install the modules. - Run
freshorgo run main.goto start the api server at 8080 port.
To setup and run the frontend application
- Run
cd uiand runnpm installto install the node packages. - Run
npm startto start the application server at 3000 port.
Enjoy the task application. Thank you!
Run cd api and run go build -o task_manager to build the project.
| Mode | Command | Description |
|---|---|---|
| CLI Add Task | ./task_manager add "Task Name" |
Adds a new task |
| CLI Process Tasks | ./task_manager process |
Starts the consumer to complete a task from stack |
| CLI List Tasks | ./task_manager list |
Lists all tasks |
| Run API | ./task_manager api |
Starts the REST API |