Go to file
Francesco Esposito 6e045c0cf7 edit package.json 2019-09-05 19:10:02 +02:00
src Add db 2019-08-22 17:43:56 +02:00
.babelrc Setup Project 2019-08-15 22:48:54 +02:00
.editorconfig Setup Project 2019-08-15 22:48:54 +02:00
.env.sample edit .env.sample 2019-09-05 19:07:57 +02:00
.eslintrc.js Setup Project 2019-08-15 22:48:54 +02:00
.gitignore edit .gitignore 2019-08-15 23:21:20 +02:00
LICENSE Initial commit 2019-08-14 21:01:14 +02:00
README.md edit readme 2019-09-05 19:08:13 +02:00
package-lock.json Add mongoose dep. 2019-08-22 17:42:23 +02:00
package.json edit package.json 2019-09-05 19:10:02 +02:00

README.md

umbrello-api

A rest API for umbrello-bot

Technologies:

  • Node.js
  • express
  • mongodb

Installation

  1. Install Node.js and npm.
  2. Install mongodb.
  3. Clone this repository.
  4. Install dependencies with npm install
  5. Create env file or set environment variables. (read "Environment variables" paragraph)
  6. Build with npm run build.
  7. Start the server with npm run serve.

Environment Variables.

OWM_TOKEN=your-open-weather-map-token-api
OWM_LANG=en
OWM_UNITS=metric

TELEGRAM_TOKEN=your-telegram-bot-token

DB_HOST=mongodb://host:port/db
DB_USER=user
DB_PASSWORD=password

License

GPLv3


Made with ❤️ by Francesco Esposito (@frsposito)