![Screenshot 2024-01-04 at 9 55 42 AM](https://private-user-images.githubusercontent.com/11393142/294085145-7556bc89-9ebc-4af0-bccf-a74c724666d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3ODA5MDUsIm5iZiI6MTcyMTc4MDYwNSwicGF0aCI6Ii8xMTM5MzE0Mi8yOTQwODUxNDUtNzU1NmJjODktOWViYy00YWYwLWJjY2YtYTc0YzcyNDY2NmQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDAwMjMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5YjAxNDIxM2RjYmIzN2QzNjE5NmE2M2YwZjU3NzFjM2I3MjE5Y2RlNDM4OTJmZWQ2ZTc3NjA4Mjg4YTNlYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.f1jNpSI6nsL_G77SiRAecMPCR9QGH1FNOM-gmJnxmXk)
- 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
![Screenshot 2024-01-04 at 9 53 24 AM](https://private-user-images.githubusercontent.com/11393142/294084612-0282bcf4-b3f2-4c72-8909-5c4302628ecf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3ODA5MDUsIm5iZiI6MTcyMTc4MDYwNSwicGF0aCI6Ii8xMTM5MzE0Mi8yOTQwODQ2MTItMDI4MmJjZjQtYjNmMi00YzcyLTg5MDktNWM0MzAyNjI4ZWNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDAwMjMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIyNGM5ZTI0YWU5MDRhNmQ4ZTAxZDgxMjJjMzI0YjM1ZTc4MzE5YjJiOTIxNGNkYTZlNWM1MWE2MjJjMjAxMTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JfNi1d87y2kvOfrGMT5PMGEVxsff1VIfvdGg12sSWxs)
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