Welcome to my Grocery-Helper-Api project. The purpose of this project is to create the API for client that want to request the data from grocery-helper-api to create a grocery-list. My Grocery-Helper-Api will allow client to create the new grocery list, show grocery-list that the user created, update grocery-list and delete the grocery-list. The require of this API is the client must have authentication to access the API. The client must sign-up with the unique email and password. Client will be able to change the password and signout after sign in.
- As an Post-Me API...
- Can response authentication include sign in, sin up, change password and sign out.
- Can response create get post path of post-me request.
- Express
- MongoDb
- Mongoose
- nodemon
- multer
Verb | URI Pattern | Controller#Action |
---|---|---|
POST | /sign-up | users#signup |
POST | /sign-in | users#signin |
DELETE | /sign-out | users#signout |
PATCH | /change-password | users#changepw |
GET | /users | users#index |
GET | /posts | posts#index |
POST | /posting | post#create |
GET | /posts/:id | posts#show |
PATCH | /posts/:id | posts#update |
DELETE | /posts/:id | posts#delete |
POST | /comments | comments#create |
DELETE | /comments/:id | comments#delete |
PATCH | /comments/:id | comments#update |
POST | /likes | likes#create |
PATCH | /likes/:id | likes#update |
POST | /uploads | images#create |
GET | /uploads | images#index |
GET | /uploads/recent | images#show |
GET | /uploads/:id | images#show |
GET | /uploads/user/:id | images#show |
PATCH | /uploads/:id/patch | images#update |
DELETE | /uploads/:id | images#delete |
- The upload AWS S3 Routes still need to be fixed.
This ERD is the advance plan for my grocery roject. But the project has only one to many relation of user and List only. The one to many of list item will be create in the future.