Skip to content

vladimirnoubis/TaskApp

Repository files navigation

TaskApp

TaskApp is application for interview purpose.

Due to almost no complexity I've decided to break app only into Routes and Database adapter modules. Routes module defines API and is loaded into express in entry ts file. DatabaseAdapter is class that encapsulates file database operations and simple business logic.

Installation

Run npm install

Usage

Running in local environment

npm start

Building distribution

npm run build

API Reference

Double number

  GET /double/{number}
Parameter Type Description
number number Required.

Doubles the number and returns result.

Count

  GET /count

Increments the counter in file db and returns count value.

Joke of the day

  GET /joke

Fetches Joke of the day from external API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published