Skip to content

Spring Boot REST API with Spring Security 🔒, Spring HATEOAS 📃, and Thymeleaf 🍃

Notifications You must be signed in to change notification settings

teotsi/webtech2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot REST API with Spring Security 🔒, Spring HATEOAS 📃, and Thymeleaf 🍃

Simple Spring Boot API that utilizes OMDB API to allow users to search for movies and save them in their personal account.

This projects assumes that the backend DB is PostgreSQL. There also a CORS Filter in place that currently allows requests from localhost:5500 (as well as whatever address the server is running on).

To use with PostgreSQL, you will need to setx DB_PASS <password> or export DB_PASS=<password>. (or just edit the whole application.properties).

Example usage:

GET /user/<id>
{
    "id": "3c934579-f734-44af-974d-e1e2ec78afed",
    "email": "[email protected]",
    "links": [
        {
            "rel": "self",
            "href": "http://localhost:8080/user/3c934579-f734-44af-974d-e1e2ec78afed"
        },
        {
            "rel": "movies",
            "href": "http://localhost:8080/user/3c934579-f734-44af-974d-e1e2ec78afed/movies"
        }
    ]
}

About

Spring Boot REST API with Spring Security 🔒, Spring HATEOAS 📃, and Thymeleaf 🍃

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •