Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
/ dukecon_feedback Public archive

DukeCon Feedback Server (event and speaker feedback)

License

Notifications You must be signed in to change notification settings

dukecon/dukecon_feedback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DukeCon Feedback Server

DukeCon Feedback Server

REST URLs

  • PUT rest/feedback/event/{conferenceId}/{eventId}

    • saves feedback for conference and event id with user principal information

    • request body: FeedbackInput(int rating, String comment)

    • returns 201 if feedback is created

    • returns 401 if no valid auth context (bearer token) exists

  • test REST URLs with IntelliJ HTTP Client (New → HTTP Request)

    • sample requests under /samples

      • get-token.http (get bearer token)

      • put-feedback.http (replace bearer token with current one)

DB

  • H2 in local dev mode (default Spring profile)

  • PostgreSQL

    • in staging and production use Spring profile: postgresql

    • for local/developer testing (and testcontainers) use Spring profile: postgresql-local

  • db migration with flyway

TODOs

  • remove GET REST resource from FeedbackController

  • add further return status codes

    • 200 if feedback has been overwritten

    • 403 if feedback is not allowed (anymore), e.g. too late or early

  • configure logging dependency (SLF4j or Logback)

  • retrieve DukeCon Server conference list for checking valid feedback client requests

  • add timestamp to feedback db table

About

DukeCon Feedback Server (event and speaker feedback)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages