Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.75 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.75 KB

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/front-react.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.

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