# RGProjectAPI

An API that providespublically available project data for frontend.

### Setup
 - Make sure you have the [heroku installer](https://devcenter.heroku.com/articles/heroku-cli#install-the-heroku-cli) installed.
 - Add heroku as a remote:
   `heroku git:remote -a rgprojectapi`

### Deployment
 - Increase the package number.
 - Select the production variables in these files:
   - /config/database.js
 - Merge your changes to master.
```
cmd
heroku login
git push heroku master

```
 - Test these links
   - https://rgprojectapi.herokuapp.com/admin (Should bring you to the login)
   - https://gate.raumgleiter.com/configurator/configurations/XeL67qUwM5EfG9TBm3sguC (Should display a list)