Giter VIP home page Giter VIP logo

arrivo's Introduction

Routes

  1. /login - Retrive token
    • POST:
      • username: string,
      • password: string,
  2. /users
    • GET - Retrieve all user
    • POST: - Create new user
      • username: string,
      • password: string,
      • email: string,
      • fullname: string,
      • membership: 'Premium | Normal'
  3. /users/:id
    • GET - Retrive selected user
    • PUT: - Update posts
      • username: string,
      • password: string,
      • email: string,
      • fullname: string,
      • membership: 'Premium | Normal'
    • PATCH: - Update selected item in user
      • username: string,
      • password: string,
      • email: string,
      • fullname: string,
      • membership: 'Premium | Normal'
    • DELETE - Remove user
  4. /posts
    • GET - Retrieve all posts
    • POST: - Create new posts
      • title: string
      • body: string
      • categoryid: int
      • status: 'Draft | Published | Pending Review'
      • label: 'Premium | Normal'
  5. /posts/:id
    • GET - Retrive selected posts
    • PUT: - Update posts
      • title: string
      • body: string
      • categoryid: int
      • status: 'Draft | Published | Pending Review'
      • label: 'Premium | Normal'
    • PATCH: - Update selected item in posts
      • title: string
      • body: string
      • categoryid: int
      • status: 'Draft | Published | Pending Review'
      • label: 'Premium | Normal'
    • DELETE - Remove posts
  6. /categories
    • GET - Retrieve all category
    • POST: - Create new category
      • name: string
      • description: string
  7. /categories/:id
    • GET - Retrive selected category
    • PUT: - Update category
      • name: string
      • description: string
    • PATCH: - Update selected item in category
      • name: string
      • description: string
    • DELETE - Remove category
  8. /subs/premium/:id
    • GET - Change from Normal to Premium
  9. /subs/normal/:id
    • GET - Change from Premium to Normal
  10. /payment/submit
    • GET - Return payment_link and insert to table Payment with status 'due'
  11. /payment/success'
    • GET - Update status to 'completed'

arrivo's People

Contributors

altafxx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.