Skip to content

dunerztd/MAM-Server

 
 

Repository files navigation

MAM-Server

Routes

Authorisation


POST '/auth/login'

  • Login for Admin
  • requires fields 'username' and 'password'

GET '/auth/logout'

  • Logout for Admin

Artwork


GET '/artwork'

  • Retrieve all artworks in the database

POST '/artworks/new'

  • Create a new artwork in database and image on amazon S3

** input name must be 'image' for file upload ie. <input name="image" type="file" /> **

GET '/artworks/:search'

  • Retrieves all artworks containing a given search term
  • Searches using the name field

DELETE '/:id'

  • Delete a single artwork by ID both from the database and its image on amazon S3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • HTML 3.2%