Skip to content

ronaldprofile/task-manager-expressjs

Repository files navigation

Task Manager API

Thumbnail

A RESTful API for managing tasks, teams, and users built with Node.js and Express.js.

Technologies

Backend

  • Framework: Express.js
  • Database: PostgreSQL
  • ORM: Prisma
  • Language: TypeScript
  • Validation: Zod
  • Authentication: JWT
  • Testing: Jest
  • Containerization: Docker
  • Deployment: Render

Features

Authentication & Authorization

  • User registration and login
  • JWT-based authentication
  • Role-based access control:
    • Admin: Manages users and teams
    • Member: Manages assigned tasks

Team Management

  • Admin-only team creation and editing
  • Admin-only member addition/removal

Tasks

  • Full CRUD operations (Create, Read, Update, Delete)
  • Status: "Pending", "In Progress", "Completed"
  • Priority: "High", "Medium", "Low"
  • Task assignment to specific team members

User Roles

Admin

  • View and manage all tasks, users, and teams

Member

  • View team tasks
  • Edit only own tasks

Getting Started

Prerequisites

  • Node.js
  • PostgreSQL
  • Docker (optional)

Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env
  1. Run database migrations:
npx prisma migrate dev
  1. Start the development server:
npm run dev

About

API para um sistema de Gerenciamento de Tarefas com Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published