Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.94 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.94 KB

NotesApp

Stack

Java Spring Postgres Hibernate JWT Swagger

File structure

Screenshot 2024-01-04 at 9 55 42 AM

How to use this code?

  1. Make sure you have Java 17 and above and Maven installed
  2. Create Database
$ psql -U postgres (Enter your password)
$ CREATE DATABASE note;
  1. Fork this repository and clone it
$ git clone https://github.com/Aariv/NotesApp
  1. Navigate into the folder
$ cd NotesApp
  1. Install dependencies
$ mvn clean install
  1. Run the project
$ mvn spring-boot:run
  1. Navigate to http://localhost:8080/swagger-ui.html in your browser to check everything is working correctly. You can change the default port in the application.yml file
server:
  port: 8080

Swagger UI

Screenshot 2024-01-04 at 9 53 24 AM

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