Skip to content

riain0/qlite-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QLite API Build Status

This is the repository for the backend portion of QLite, my final year project for university.

Installation

Prerequisites

  • Java 8 and its JDK installed
  • Maven

From source

Steps

  • Clone this repo and move into it.
  • Open the application.properties file located in src/main/resources and input your MongoDB database information.
  • Run mvn spring-boot:run, by default the API will run on port 8080 and can be accessed via Swagger too.

From JAR

  • Download the JAR from the releases tab.
  • Create a file called application.properties in the directory where you saved the JAR file and input the following information for your MongoDB database.
    spring.data.mongodb.host=
    spring.data.mongodb.port=
    spring.data.mongodb.authentication-database=
    spring.data.mongodb.username=
    spring.data.mongodb.password=
    spring.data.mongodb.database=
    
  • Open a terminal and run java -jar QLite-v1.0.0.jar --spring.config.location=./application.properties, by default the API will run on port 8080 and can be accessed via Swagger too.

About

QLite API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages