Skip to content

gabrielduessmann/vocabulary-board-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vocabulary-board-backend

GitHub Workflow Status

Backend from vocabulary board app.

Requirements

Installation

Build

$ mvn clean install -DskipTests

Generate Q classes for querydsl

$ mvn generate-sources

Running

$ mvn spring-boot:run

Running debug mode

  • Go to Maven tab > Lifecycle > Choose "Clean" and then "Install"
  • Configure a configuration Remote JVM Debug, it can be used the default port 5005
  • Open the target folder in the terminal
  • Type the following command:
    java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -jar .\vocabulary-0.0.1-SNAPSHOT.jar
  • Run debug

First time Configuration

  • Create a PotgreSQL database and configure your credentials in the src/main/resources/application.properties file. It is mandatory to create a database as well, for Hibernate to map and create all tables, I suggest vocabulary-board for its name.

  • As the column interface is not implemented yet, it will be necessary to create it manually by the API.

API:
POST localhost:8080/column

I highly suggest following the next steps to create all the columns necessary to run the application. Execute the requests one by one.

Body:

{
    "title": "Pool",
    "sprintOrder": 0,
    "status": "POOL"
}
{
    "title": "Backlog",
    "sprintOrder": 0,
    "status": "BACKLOG"
}
{
    "title": "Week 1",
    "sprintOrder": 1,
    "status": "IN_PROGRESS"
}
{
    "title": "Week 2",
    "sprintOrder": 2,
    "status": "PAUSED"
}
{
    "title": "Week 3",
    "sprintOrder": 3,
    "status": "IN_PROGRESS"
}
{
    "title": "Done",
    "sprintOrder": 0,
    "status": "DONE"
}
  • You need to run vocabulary-board-frontend after build this project. Make sure to run this project in the http://localhost:8080 url.

RabbitMQ configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages