Skip to content

PDA-UR/graphit-app

Repository files navigation

Graphit App

Frontend + API server for the GraphIT project.

Development

  1. download this .env file: https://files.mi.ur.de/smart-link/5001176f-e783-45c8-ae85-65895895cab1/
  2. save it in api/.env.
    1. (set DEV_INSTANCE in the env file also to https://graphit.ur.de if you don't have to run Wikibase locally)
    2. however, note that you will work with the LIVE wikibase instance, so be careful not to mess up the data there
  3. run npm run dev in the project root directory to start the api and the webapp
    1. to run on Windows:
      1. navigate to /api and run npm run dev
      2. open a second Terminal and navigate to /frontend. Run npm run dev there as well
      3. Alternative: replace the dev script in the package.json file (root) with "start npm run dev --workspace=api & start npm run dev --workspace=frontend"
      4. Alternative: run the app on wsl (not tested)
    2. visit (http://localhost:8081/app for the webapp, http://localhost:8081/doc for the api docs)

Deployment

The app is automatically built and deployed via GitHub actions:

About

Webapp and API server of the GraphIT project.

Resources

Stars

Watchers

Forks

Packages