Coder Social home page Coder Social logo

victor5g / run-task-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 79 KB

API for managing and controlling tasks and projects in teams to control the project development routine

Dockerfile 0.45% Makefile 0.33% TypeScript 99.22%
api-rest docker docker-compose docker-container express nodejs postgresql prisma typescript

run-task-api's Introduction

๐Ÿ“– API Rules:

  1. Only the project creator can add or remove members.
  2. Tasks can only be created by members of the project to which the task belongs.
  3. A user can only be added to a project if they are already registered on the platform.
  4. Completed tasks cannot be edited.
  5. Tasks must have tags

๐Ÿ’ป Technologies:

  • Node.js with TypeScript
  • PostgreSQL
  • Prism ORM

</>. API Modeling:

User (User):

  • ID: Automatically generated ID.
  • Name: Text.
  • Email: Text, unique.
  • Password: Text, encrypted.

Project (Project):

  • ID: Automatically generated ID.
  • Name: Text.
  • Description: Text.
  • Members: List of users associated with the project.

Task (Task):

  • ID: Automatically generated ID.
  • Title: Text, maximum 255 characters.
  • Description: Text.
  • Creation date: Date and time, automatically generated.
  • Status: Enum (Pending, In progress, Completed).
  • Project: Reference to the project to which it belongs.

Tag (Tag):

  • ID: Automatically generated ID.
  • Title: Text.
  • Task: Reference to the task to which it belongs.

โš™๏ธ Configuration for execution:

  • Have docker and docker-compose installed.
  • Create a .env file in the project root with the following variables.
POSTGRES_HOST= 
POSTGRES_PORT= 
POSTGRES_USER= 
POSTGRES_PASSWORD= 
POSTGRES_DB= 
DATABASE_URL= postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public

run-task-api's People

Contributors

victor5g 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.