Pictoramica-API is the backend API for the Pictoramica-Client application. Using Express.js and Mongoose.js along with MongoDB as the database, data in the Pictoramica-Client application is able to be created, retrieved, updated, and deleted.
- Application: https://sitbackn-react.github.io/pictoramica/#/
- Frontend Repo (Version 1): https://github.com/SitBackN-React/Pictoramica-Client
- Backend Repo (Version 1): https://github.com/SitBackN-React/Pictoramica-API
- Frontend Repo (Version 2): https://github.com/SitBackN-React/pictoramica (Currently in development)
- Backend Repo (Version 2): https://github.com/SitBackN-React/pictoramica-server (Currently in development)
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /my-images |
my-images#index |
GET | /all-images |
my-images#index |
GET | /images/:id |
images#show |
POST | /images |
images#create |
PATCH | /images/:id |
images#update |
DELETE | /images/:id |
images#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /images/:imageId/imageLikes/:imageLikeId |
imageLikes#show |
POST | /images/:imageId/imageLikes |
imageLikes#create |
DELETE | /images/:imageId/imageLikes/:imageLikeId |
imageLikes#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /my-blogs |
my-blogs#index |
GET | /all-blogs |
my-blogs#index |
GET | /blogs/:id |
blogs#show |
POST | /blogs |
blogs#create |
PATCH | /blogs/:id |
blogs#update |
DELETE | /blogs/:id |
blogs#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /blogs/:blogId/posts/:postId |
posts#show |
POST | /blogs/:blogId/posts |
posts#create |
PATCH | /blogs/:blogId/posts/:postId |
posts#update |
DELETE | /blogs/:blogId/posts/:postId |
posts#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /blogs/:blogId/posts/:postId/postLikes/:postLikeId |
postLikes#show |
POST | /blogs/:blogId/posts/postLikes |
postLikes#create |
DELETE | /blogs/:blogId/posts/:postId/postLikes/:postLikeId |
postLikes#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
GET | /blogs/:blogId/posts/:postId/comments/:commentId |
comments#show |
POST | /blogs/:blogId/posts/:postId/comments |
comments#create |
PATCH | /blogs/:blogId/posts/:postId/comments/:commentId |
comments#update |
DELETE | /blogs/:blogId/posts/:postId/comments/:commentId |
comments#destroy |
Verb | URI Pattern | Controller#Action |
---|---|---|
POST | /post-image |
awss#create |