Giter VIP home page Giter VIP logo

examples's Introduction

Plumier Example

This monorepo contains comprehensive list of Plumier examples. Its intended to be used to learn Plumier quickly by example.

Most of examples on this repository created using Plumier project starter.

Project Layout and Entry Point

Controller

  • routing contains example on most routing trick, including how to create a restful controller and nested restful controller.

  • parameter-binding Parameter binding is process to bind request part (query, body, header) into action parameter. This directory contains example on how to bind request to parameter.

  • validation contains example on how to validate user input, how to validate parameters and model.

  • type-conversion contains example on how to setup action and parameter to make the type conversion work properly.

  • query-parser-mongoose contains example on how to use Query Parser helper to parse request query string into Mongoose Query.

  • query-parser-typeorm contains example on how to use Query Parser helper to parse request query string into TypeORM Query.

Data Access

First Class Entity and Generic Controller

Security

  • basic-security contains example on how to create authentication with JWT and how to authorize your user using policy based authorization.

  • entity-policy contains example on how to secure first class entity using entity policy.

  • social-login contains example on how to use OAuth from several providers such as Facebook, Google, Twitter, GitHub, GitLab.

Swagger

  • swagger contains example on how to enable the swagger facility.

Server Static Files and File Upload

  • serve-static contains example on how to server static files from specific directory, or serve a file using route.

  • file-upload-local contains example on how to create file upload handler with local storage.

  • file-upload-s3 contains example on how to create file upload handler with Amazon S3 storage.

Complete Example

  • marketplace-api example how to create market place API using first class entity and generic controller, with complex authorization.

examples's People

Contributors

ktutnik avatar

Stargazers

 avatar  avatar

Watchers

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