Skip to content

A Photography services website. People can hire me for for various kind of shooting photography for REST API

Notifications You must be signed in to change notification settings

rasel-mahmud-dev/lens-queen-photography-services-backend

Repository files navigation

Lens-Queen (Backend)

A Photography services website

Module uses

  • Expressjs
  • cors
  • dotenv
  • jwt(jsonwebtoken)
  • formidable (parse formdata)
  • imgbb-uploader (upload image in imgbb)
  • mongodb

Functional requirement.

  • users see all services.
  • user see all reviews for a particular service also only logged user can add service and reviews
  • logged user can delete, update their service and review.
  • need user authentication. using jwt token

Database

  • Mongodb (Native)

Endpoint

services endpoint

  • GET /api/services [public]
  • GET /api/services-count [public]
  • GET /api/service/:serviceId [public]
  • POST /api/service [public]
  • PATCH /api/service/:serviceId [private]
  • DELETE /api/service/:serviceId [private]

reviews endpoint

  • GET /api/reviews [public]
  • GET /api/review/:reviewId [public]
  • POST /api/review [public]
  • PATCH /api/review/:reviewId [private]
  • DELETE /api/review/:reviewId [private]

auth endpoint

  • GET /api/auth/validate-token [public] [check token valid or not]
  • POST /api/auth/generate-token [public] [generate a token]

Other endpoint

  • POST /api/blogs [public]
  • POST /api/testimonials [public]
  • POST /api/projects [public]
  • And much more...

About

A Photography services website. People can hire me for for various kind of shooting photography for REST API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published