Skip to content

A task management starter API built with Typescript MongoDB and NodeJS. Demonstrate how to write clean typed REST API with tests using mocha and chai

Notifications You must be signed in to change notification settings

Adekoreday/Task-Manager

Repository files navigation

Readme

post man documentation

https://documenter.getpostman.com/view/5907608/TzzEoaMi

Getting Started

  • Run mongodb locally using docker-compose
    docker-compose up

the url locally should be

mongodb://localhost:27018
  • Create the environment variable file. A sample of its content is provided in the .env.sample file committed to this Repo

Running in production mode

  • update NODE_ENV=production in your .env file
  • run the following
yarn install
yarn run start

Watch Mode

yarn install
yarn run watch

test Mode

  • update NODE_ENV=test in your .env file
yarn run test

Features that would have been implemented

The following approach would have been implemented should there be time

  • Email verification of regular user
  • Logging to sentry
  • complete test for read, update and delete of task (already setup an example of how i'll do them in the task create test)
  • introduce rate limit
  • Searching and filtering
  • add alias for types
  • Add kubernetes deployment files

About

A task management starter API built with Typescript MongoDB and NodeJS. Demonstrate how to write clean typed REST API with tests using mocha and chai

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published