Skip to content

ita-classroom-projects/RestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Online Marathon

To-Do List Project. REST API

The Task:

Create REST-controllers for managing the following resources:

  • Collection of all the users: /api/users
  • Collection of todos for the user: /api/users/{u_id}/todos
  • Collection of collaborators for the todo: /api/users/{u_id}/todos/{t_id}/collaborators
  • Collection of tasks for the todo: /api/users/{u_id}/todos/{t_id}/tasks

  1. Use GET, POST, PUT, DELETE methods to manage the Collections.
  2. Add security rules as from the previous stage (use BasicAuth to begin with)
  3. Customize exception handling, use ResponseStatusException
  4. Use Postman to demonstrate the functionality
  5. Optionally try to implement JWT authentication (the JJWT library included in the pom.xml)

There are three predefined users in the DB with roles ADMIN and USER.

Login Password Role
[email protected] 1111 ADMIN
[email protected] 2222 USER
[email protected] 3333 USER

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages