Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanfleck/spring-mvc-boilerplate

Spring MVC Skeleton with Unit Tests, CI and a Heroku Container deployment.
https://github.com/ryanfleck/spring-mvc-boilerplate

bootstrap java junit5 maven spring

Last synced: 18 days ago
JSON representation

Spring MVC Skeleton with Unit Tests, CI and a Heroku Container deployment.

Awesome Lists containing this project

README

        

# Spring MVC Boilerplate

[![Build Status](https://travis-ci.org/RyanFleck/Spring-MVC-Boilerplate.svg?branch=master)](https://travis-ci.org/RyanFleck/Spring-MVC-Boilerplate)

Spring MVC Skeleton with Unit Tests, CI and a Heroku Container deployment.

**ToDo:**

- Research/Add robust MVC BP.
- Choose and implement View library.
- Improve Unit Testing BP.
- Add Bootstrap to View.
- Organize Scripts and Styles.

**Done:**

- Init Git project.
- Add Maven `pom.xml` and Spring, JUnit packages.
- Ensure simple Spring app can boot.
- Ensure simple JUnit tests can run.
- Add Travis CI.
- Deploy to Heroku container.

**Resources:**

1.
1.
1.

**CI:**

**HKU:**

## MVN Usage

After cloning the repository, the following commands can be used to develop, test and clean:

1. `mvn clean test` full rebuild of all files & run unit tests.
1. `mvn spring-boot:run` spring development run w/ reload after resources are modified.

## Development Standards

1. Every Java class must have a corresponding `ClassNameTest.java` file.
1. Format Java classes with `astyle Class.java` before committing.

### Time Tracking

1. **2018-01-12** - 2h - Read Spring MVC materials on bus.
1. **2018-01-13** - 3h - Init GH repo, Maven, Spring, JUnit, Travis, Heroku.