Agile Board is a test project for Limestone. See demo on: https://agile-board-app.herokuapp.com/
Implement agile board using Spring. (React is preferred on the frontend side) User should be able to:
- Login / logout;
- See the board with 3 columns (TO DO, In progress, Done);
- User should be able to do such actions with cards: create, edit, delete, move to another column.
For building and running the application you need:
- JDK 8
- Git Guide
- Maven 3.5.3 or later (Installing Apache Maven)
- PostgreSQL 9.6 or later
Clone this repository onto your local machine. You can do it like this:
$ git clone https://github.com/JIeIIIa/agile-board
Open database terminal and type in the following command:
CREATE DATABASE AgileBoard;
Open a terminal, change a directory to the project root directory, run:
$ mvn clean install -Dmaven.test.skip=true
After that you will see agile-board-backend-*.jar
at
<project root directory>/backend/target
Use environment variables below:
- JDBC_DATABASE_URL - the JDBC URL to the database instance
(e.g.
jdbc:postgresql://localhost:5432/AgileBoard
) - JDBC_DATABASE_USERNAME - the database username
- JDBC_DATABASE_PASSWORD - the database password
This project can be built with Apache Maven.
Use the following steps to run the application locally:
- Execute next Maven goals to create the
target/photo-pond-1.0-SNAPSHOT.jar
file:$ mvn clean install -Dmaven.test.skip=true
- Run the application using
java -jar
, as shown in the following example:where:java -D<VARIABLES> -jar target/backend/agile-board-backend-1.0-SNAPSHOT.jar
- - list of environment variables that are required to run
and have not been set before (e.g.
-DJDBC_DATABASE_USERNAME=username
)
- - list of environment variables that are required to run
and have not been set before (e.g.
- Once running, the application will be available at:
If you need to start your application on another port use
http://localhost:8088/
-Dserver.port=PORT
variable.
-
Make sure that you are using java 8, and that maven version is appropriate.
mvn -v
should return something like:
Apache Maven 3.5.3 Maven home: C:\Program Files\Maven\bin\.. Java version: 1.8.0_192, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_192\jre
-
Make sure that PostgreSQL is installed and the database is created.
-
Make sure that you have set all necessary variables.