Real Estate Association of Jamaica has asked you to develop an app to store details of their featured housing. Your app should collect the details of three (3) houses from the user and save these details to a file.
--------------------------
# RUN THE SERVER ON PORT 8090 | |
server.port = 8090 | |
# DataSource settings: set here your own configurations for the database | |
# connection. In this example we have "fruitdb" as database name and | |
# "root" as username and password. | |
# ---- USE LINE BELOW FOR MYSQL | |
spring.datasource.url = jdbc:mysql://localhost:3306/fruitdb?useSSL=false&createDatabaseIfNotExist=true | |
spring.datasource.username = root |
# Utilize the docker container image tagged as "maven:latest" | |
# see - https://hub.docker.com/_/maven | |
# What is a container - https://www.docker.com/resources/what-container | |
image: maven:latest | |
# We now specify the differnt stages of our CI build. We have 3 stages | |
stages: | |
- build | |
- test | |
- package |
[ | |
{ | |
"id": 1, | |
"name": "Banana", | |
"description": "A banana is an edible fruit – botanically a berry – produced by several kinds of large herbaceous flowering plants in the genus Musa. In some countries, bananas used for cooking may be called plantains, distinguishing them from dessert banana", | |
"photoUrl":"http://www.pngall.com/wp-content/uploads/2016/04/Banana-PNG.png" | |
}, | |
{ | |
"id": 2, | |
"name": "Apple", |
#!/usr/bin/env bash | |
# Upgrade Nodejs from version 8 to version 10 | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
sudo apt-get install -y nodejs yarn |
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt | |
# Mobile Tools for Java (J2ME) |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
</execution> | |
</executions> |