Skip to content

beingcoderr/taskmanagement-nodejs

Repository files navigation

NodeJS TypeScript Postgres Swagger GraphQL

Task/Issue Management Backend

This is new Task/Issue Management project and is in development stage. It supports RESTApi as well as GraphQL.
REST doc is present at /api route and GraphQL will be found at /playground route.

This project is build using:

  • NodeJS
  • Postgres
  • ExpressJS
  • Sequelize ORM
  • Swagger OpenAPI for REST documentation
  • GraphQL

  • Steps to run this project

    Note: Basic knowledge of NodeJS and TypeScript is required

    1. Close this project into you local computer.
    2. Install postgress for your platform from download postgres
    3. Download pgAdmin to create database in postgres from download pgAdmin
    4. Create database named "taskmanagement" using pgAdmin. Make sure that postgres is runing.
    5. Create .env file in the root of the project. And pass the following parameters.
      • JWT_SECRET="your-jwt-secret"
      • PORT=3000
      • DB_HOST=localhost
      • DB_DIALECT=postgres
      • DB_NAME=taskmanagement
      • DB_USERNAME=postgres
      • DB_PASSWORD=postgres
      • DB_PORT=5432
    6. Run the following command
      npm run start:dev