Skip to content

emanuelalvaradog/api-dev

Repository files navigation

Api Dev

Api built with Express.js, faker, joi and deployed in heroku. This api is based on an e-commerce and has different endpoints such as products, users and categories

Methods:

GET:

  • Get all ---> /api/v1/{endpoint}/
  • Get a specific ---> /api/v1/{endpoint}/id

POST / PUT / PATCH:

  • Products:
    • name: String
    • price: Number
    • image: URL
  • Users:
    • name: String,
    • address: String,
    • phone: Number,
    • email: email
  • Categories:
    • name: String,
    • products: Number

DELETE:

  • Delete one ---> /api/v1/{endpoint}/id

Process

Built with:

  • NodeJS
  • ExpressJS
  • Faker
  • Joi
  • Heroku

Authors:

Made with 💜 by emanuelalvaradog

About

E-commerce products API generated randomly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published