Giter Site home page Giter Site logo

tasks's Introduction

tasks

REST API for tracking tasks and projects.

Description

The application stores projects and related tasks. There is an option to give at most 100 tags to one task. Number of tasks in project is not limited. Moving task between projects is not supported.

Project has a name, description and start and ending date. Task has description and state - new, in progress or done. Tag has only a name.

There's also an option to filter tasks based on project, description, tag and in which state the task is. You can also limit the number of results or move between pages. Suppose tasks numbered from one, this query will get you tasks number 21 - 40: /tasks?limit=20&page=2. Or by this query you can search only for tasks with tag "bar": /tasks?tag=bar. Further information is in the API definition in the openapi.yaml file. Also database schema is described by the db_layout.png picture.

Installation

The API was developed on Node.js version 18.13.0. After cloning you need to create a .env file with database connection parameters with variables from example:

DB_USER=postgres
DB_PASS=postgres
DB_ADDRESS=localhost
DB_PORT=5432
DB_NAME=postgres

and run npm install.

How to run

npm start for normal usage and npm run debug for development.

tasks's People

Contributors

liniik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.