-
-
Notifications
You must be signed in to change notification settings - Fork 3
How to run REST API
Sebastian Zimmeck edited this page Jun 21, 2024
·
7 revisions
-
Navigate to the
rest-api
folder, and runnpm install
-
Create a file named
.env
with the following information:DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=analysis DB_USERNAME=root DB_PASSWORD=
-
To run the REST API without the debugging table, run
node index.js
To run the REST API with the debugging table, run
node index.js debug
For more information on the debugging table, see the Wiki.
-
Open a browser and navigate to
http://localhost:8080/analysis
and check if you can see the analysis data.