A "simple" starter project custom RESTful API.
The project uses Spring Boot and a MySQL database.
git clone https://github.com/monogramm/spring-rest-api-starter.git
cd spring-rest-api-starter
mysql --user=root --password < src/main/resources/_schema-mysql.sql
mysql --user=root --password < src/main/resources/_data-mysql.sql
Finally, edit the properties in application.properties
to your needs (name, db, mail, etc...).
mvn spring-boot:run
mvn test
mvn verify
Be careful as the IT will startup the server and test the actual functions. This means that all application properties are valid for integration, even mail ones (not mocked).
See CONTRIBUTING file.
This product is distributed under the GNU Affero General Public License v3.0. See the complete license in the bundle: