6e045c0cf7 | ||
---|---|---|
src | ||
.babelrc | ||
.editorconfig | ||
.env.sample | ||
.eslintrc.js | ||
.gitignore | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json |
README.md
umbrello-api
A rest API for umbrello-bot
Technologies:
- Node.js
- express
- mongodb
Installation
- Install
Node.js
andnpm
. - Install
mongodb
. - Clone this repository.
- Install dependencies with
npm install
- Create env file or set environment variables. (read "Environment variables" paragraph)
- Build with
npm run build
. - 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)