API for saving Happy Thoughts
Handle validation and updates of the thoughts database using Mongoose and MongoDB.
This endpoint returns a maximum of 20 thoughts, sorted by createdAt
This endpoint creates a new thought and expects a JSON body with the thought message
, like this: { "message": "The weather todays is great, yay 😎" }
.
This endpoint increments the likes of a thought.
Browse the API on this url: https://project-happy-thoughts-api-j7vhqcm4aq-lz.a.run.app
Or browse the React UI at https://happythoughtsproject.netlify.app/