Skip to content

HichBen/homepage-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homepage_api

Link of the api documentation that was deployed in AWS:

Steps to run it locally

  • Make sure you have installed docker and docker-compose
  • Run docker-compose up -d
  • Head over to http://localhost/homepage/docs for the api documentation

Different Endpoints:

The api has 5 endpoints:

  • Two get methods:

    • /homepage : Which will return the json all available homepages.
    • /homepage/{id} : Which takes a group id and returns json of that group_id's homepage
  • Delete method:

    • /homepage/{id} : takes a group_id and deletes the homepage
  • Post Method:

    • /homepage : Takes a json and creates a new homepage
  • Patch method :

    • /homepage/{id}/ Takes a json of the fields that the user wants to update and updates them

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published