Skip to content

A prototype for the backend of the LBDserver project, connecting with a triple store and document store

License

Notifications You must be signed in to change notification settings

LBDserver/backend_prototype

Repository files navigation

Getting started with the LBDserver backend

Prerequisites

  • Make sure you have nodejs and npm installed.
  • The backend communicates with different databases at the same time. You need to install MongoDB and GraphDB.
  • (Optional) Create a dedicated folder for all your LBDserver downloads.

Installation

  • (option 1a: using git) - run git clone https://github.com/LBDserver/backend_prototype.git in your favourite terminal, in your favourite folder.
  • (option 1b: using ZIP folders) - Go to the CODE button at the top of the repository and click Download ZIP. Extract the folder.
  • Once the repository is extracted, run npm install to install the necessary modules.
  • Create a dev.env file in the >config directory, and copy the items from dev.env.template. You can change ports, token secrets, admin configuration etc. in this .dev file.

Folder setup

  • After installing this backend from the above step, proceed to also install the frontend from the main LDBServer repo.
  • Please place these two folders as below: . ├── front-react # frontend from the main LBDServer repo └── backend_prototype # backend from the main LDBServer repo

Startup

  • Start both MongoDB and GraphDB. By default they will run respectively on port 27017 and port 7200.
  • Run the command npm run dev in a terminal (in the folder where you installed this repository). Since concurrently is installed, this command will simultaneously start both the frontend and backend (Please ensure that you follow the folder structure as mentioned above)
  • The application will be hosted on port 5000. You may find it at http://localhost:5000.

Startup

  • Start both MongoDB and GraphDB. By default they will run respectively on port 27017 and port 7200.
  • Run the command npm run dev in a terminal (in the folder where you installed this repository)
  • The application will be hosted on port 5000. You may find it at http://localhost:5000.

API

About

A prototype for the backend of the LBDserver project, connecting with a triple store and document store

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •