Skip to content

dialogik-tv/dialogiktv-api

Repository files navigation

The dialogikTV API

Based on Node.js with Express.js and a sequelized MySQL database, this API servers as the main data provider for the dialogikTV frontend webapplication.

Develop and contribute

  • Clone the repository.
  • Create .env File (see .env.template).
  • Install node dependencies with npm install.
  • node app.js (or npm start to run with nodemon) to run script locally.
  • git add, git commit and git push to contribute (and always remember to git pull before starting the day).

Deploy to Heroku

tbd

FAQ

Known problems when developing on Windows

How to migrate with .env variables in config/sequelize.js

Use the dotenv-cli package:

npx dotenv -e .env sequelize db:migrate