TK Management is a simplified task manager. Fast, casual and simple to use.
First install NodeJS according to your O.S Once installed open the directory in the terminal or vscode and run the following command
To execute the project it is necessary to install its dependencies. To do this, run the following command.
To run the project in development mode, use the following command.
To run the project in production mode, use the following command.
To run the application tests run the following command.
List of Tasks
[
{
"documents": [],
"_id": "5f5e53491daa610017e3be05",
"name": "Task 01",
"customer": "Tesla",
"due_date": "2020-09-10T00:00:00.000Z",
"legal_date": "2020-09-11T00:00:00.000Z",
"fine": true,
"createdAt": "2020-09-13T17:13:45.468Z",
"updatedAt": "2020-09-13T17:13:45.468Z",
"__v": 0
},
{
"documents": [],
"_id": "5f5e53491daa6100ee7edbe99",
"name": "Task 02",
"customer": "Microsoft",
"due_date": "2020-09-13T00:00:00.000Z",
"legal_date": "2020-09-14T00:00:00.000Z",
"fine": true,
"createdAt": "2020-09-17T17:13:45.468Z",
"updatedAt": "2020-09-19T17:13:45.468Z",
"__v": 0
}
]`
Specific Task
GET - https://tkmanagement.herokuapp.com/api/task/<id_task>
[{
"documents": [],
"_id": "5f5e53491daa610017e3be05",
"name": "Task 01",
"customer": "Tesla",
"due_date": "2020-09-10T00:00:00.000Z",
"legal_date": "2020-09-11T00:00:00.000Z",
"fine": true,
"createdAt": "2020-09-13T17:13:45.468Z",
"updatedAt": "2020-09-13T17:13:45.468Z",
"__v": 0
}]`
Create Task
{
"name": "Task 01",
"customer": "Tesla",
"due_date": "2020-09-10",
"legal_date": "2020-09-11",
"fine": true
}`
{
result: true,
message: 'Task created successfully'
}`
Update Task
PATCH - https://tkmanagement.herokuapp.com/api/task/<id_task>
{
"name": "Task Update 01",
"customer": "Tesla",
"due_date": "2020-09-10",
"legal_date": "2020-09-11",
"fine": true
}`
{
result: true,
message: 'Task updated successfully'
}`
Delete Task
DELETE - https://tkmanagement.herokuapp.com/api/task/<id_task>
{
"name": "Task Update 01",
"customer": "Tesla",
"due_date": "2020-09-10",
"legal_date": "2020-09-11",
"fine": true
}`
{
result: true,
message: 'Task removed successfully'
}`
Insert Document in Task
POST - https://tkmanagement.herokuapp.com/api/task/document/<id_task>
{
result: true,
message: 'Document uploaded successfully'
}`
Delete Document in Task
DELETE - https://tkmanagement.herokuapp.com/api/task/document/<id_task>/<id_document>
{
result: true,
message: 'Document removed successfully'
}`
Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.
Fast, unopinionated, minimalist web framework for node.
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
HTTP request logger middleware for node.js
Multer is a node.js middleware for handling multipart/form-data, which is primarily used for uploading files. It is written on top of busboy for maximum efficiency.
A comprehensive JavaScript testing solution. Works out of the box for most JavaScript projects. Fast, interactive watch mode only runs test files related to changed files. Capture snapshots of large objects to simplify testing and to analyze how they change over time.
HTTP assertions made easy via superagent.
The TK Management WebApp was built using ReactJS. It is still in Beta. List only as tasks
First install NodeJS according to your O.S Once installed open the directory in the terminal or vscode and run the following command
Runs the app in the development mode.
Used to make HTTP requests
Used in Drawer and Tabs
Great for standardization in production. Allows you to use component-level styles in the application. They are written in a mixture of JavaScript and CSS.