This API can be hosted in a service provider of your choice. We used heroku(guide), but you can use whatever you want.
To run the code, you need to have the following:
-
Postgresql
-
An .env variable with the PORT and the DATABASE_URL to your database. E.g:
PORT=3000
DATABASE_URL=postgresql:///user:password@hostname:port/db
To run the code(for example on a local machine), run the following command in the same folder as the the github repo(might take some time to compile): cargo run
This will run the server on the machine, accessable by the ip of the machine, and the PORT than you declared earlier.
- Uzair Aftab (software developer)
- Patrick Pascal Bickenbach (hardware developer)
- Aleksander Eriksen (student project leader)
- Move migration instructions to this repository from Bee-CTRL