Skip to content

A NestJS and MongoDB RESTful API that handles alerts for crypto prices.

Notifications You must be signed in to change notification settings

DevMata/crypto-alert

Repository files navigation

Nest Logo

Description

A NestJS and MongoDB RESTful API that handles alerts for crypto prices.

Targets versions

  • Node.js: 16.15.0
  • NPM: 8.5.5
  • NestJS: 8.0.0

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Env variables

Copy the .env.example into a .env file and fill the following variables.

Variable Description
PORT API port
MONGO_URL MongoDB server URL
COINRANKING_URL Coinranking URL
COINRANKING_API_KEY Coinranking api key

Resources

If you run the API locally your base URL is: http://localhost:<YOUR PORT>

GET /alerts

POST /alerts

GET /alerts/validated

POST /alerts/validation

OpenAPI

The /docs route provides an OpenAPI documentation.

Stay in touch

About

A NestJS and MongoDB RESTful API that handles alerts for crypto prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published