- Make sure you have Java 17 and above and Maven installed
- Create Database
$ psql -U postgres (Enter your password)
$ CREATE DATABASE note;
- Fork this repository and clone it
$ git clone https://github.com/Aariv/NotesApp
- Navigate into the folder
$ cd NotesApp
- Install dependencies
$ mvn clean install
- Run the project
$ mvn spring-boot:run
- Navigate to
http://localhost:8080/swagger-ui.html
in your browser to check everything is working correctly. You can change the default port in theapplication.yml
file
server:
port: 8080
Build to Docker daemon Jib can also build your image directly to a Docker daemon. This uses the docker command line tool and requires that you have docker available on your PATH.
mvn compile jib:dockerBuild