Skip to content

post-me-api back end project. create my own API using express.

Notifications You must be signed in to change notification settings

Nuanjan/post-me-api

Repository files navigation

Grocery-Helper-Api: A Description

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.

Important links

Post-Me-Client gitHub Repo

Heroku-deployed-site

Post-Me-Client-Deployed-site

User Stories

  • 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.

Tecnologies used

  • Express
  • MongoDb
  • Mongoose
  • nodemon
  • multer

API End Points

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

Unsolved Problem

  • The upload AWS S3 Routes still need to be fixed.

Images

ERD(entities Relation diagram)

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.

post-me ERD

About

post-me-api back end project. create my own API using express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published