Skip to content
/ NotesApp Public

A secure and scalable RESTful API that allows users to create, read, update, and delete notes.

License

Notifications You must be signed in to change notification settings

Aariv/NotesApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A secure and scalable RESTful API that allows users to create, read, update, and delete notes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages