Skip to content

smikesword/PetsPalette-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A RESTful API created with Spring Boot for PetsPalette

  • Implements OAuth 2.0 with AWS Cognito
  • Provides endpoint to send messages to AWS SQS
  • Connects to MYSQL database

Endpoints:

Base path for Post controller: /api/v1/posts

  • GET returns list of postDTOs
  • POST with valid postDTO in body returns postDTO of created/saved post
  • GET /{id} increments number of likes of Post with specified ID in url path
  • GET /send/{id} sends message to SQS with the specified ID

Base path for User controller: /api/v1/user

  • GET /{cognitoUsername} returns UserDTO if user with specified cognitoUsername isn't a new user
  • POST with valid UserDTO in body returns username of newly created/saved user

Link to frontend repo which contains more info about the project(architecture, configuration, etc.)[https://github.com/MikeDePacina/PetsPalette]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors