Skip to content

BiggusBrainus/brain-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠
BigBrain

GitHub Workflow Status GitHub repo size GitHub last commit


Setup

For the server to work, the db_access.properties file from the Trello board needs to be put into the src/main/java/[...]/res/ directory.

Apart from that, no special setup is required, since both databases are hosted using ElephantSQL and therefore don't run on the same machine as the BigBrain server.

Run

Running the server is as easy as loading it into IntelliJ and starting it or executing something like these two commands:

mvn clean package && java -jar target/server-0.0.1-SNAPSHOT.jar

Config

If, for some reason, you wanted to change the port the server is running on - e.g. because it is already in use - you simply need to change the port specified in the src/main/resources/application.yml file:

server:
  port: 8090

Endpoints

In case you want to develop your own BigBrain client or you just want to see, what the HTTP endpoints are like, you can check out the API documentation exported from Postman @ documenter.getpostman.com.