Giter VIP home page Giter VIP logo

plumier / plumier Goto Github PK

View Code? Open in Web Editor NEW
261.0 10.0 15.0 22.88 MB

A TypeScript backend framework focuses on development productivity, uses dedicated reflection library to help you create a robust, secure and fast API delightfully.

Home Page: https://plumier.js.org

License: MIT License

JavaScript 0.23% TypeScript 99.01% HTML 0.13% CSS 0.28% Shell 0.05% Nearley 0.21% EJS 0.09%
typescript decorators nodejs plumier reflection backend

plumier's Introduction

Plumier

Delightful Node.js Rest Framework

Build Status Build status Coverage Status lerna npm

Documentation

Read the project documentation on https://plumier.js.org

Contributing

To run Plumier project on local machine, some setup/app required

App requirements

  • Visual Studio Code (Recommended)
  • Yarn (required)

Local Setup

  • Fork and clone the project git clone
  • Install dependencies by yarn install
  • Run test by yarn test

Debugging

Plumier already provided vscode task and launch setting. To start debugging a test scenario:

  • Locate the test file and narrow the test runs by using .only
  • Put breakpoint on any location you need on .ts file
  • On start/debug configuration select Jest Current File and start debugging

plumier's People

Contributors

almontasser avatar banditelol avatar dependabot-preview[bot] avatar dependabot[bot] avatar greenkeeper[bot] avatar ktutnik avatar mergify[bot] avatar pierissimo avatar sebaplaza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plumier's Issues

Add FileActionResult

This feature required for serving single static file like html file for SPA. Investigate possibility to reuse koa-send

Validator treat Date field as object

This domain validation will never work

@domain()
class PetData {
    constructor(
        @val.before()
        public birthday: Date
    ) { }
}

birthday will never validated because it validated as object vs primitive value

Add multiple route decorators support

This feature necessary if we need to serve SPA with url rewrite like react-router

export class HomeController {
    @route.get("/")
    @route.get("/home")
    @route.get("/about-us")
    @route.get("/cart")
    @route.get("/me")
    index() {
        return new FileActionResult(join(__dirname, "../build/index.html"))
    }
}

An in-range update of @types/koa__cors is breaking the build 🚨

Version 2.2.3 of @types/koa__cors was just published.

Branch Build failing 🚨
Dependency @types/koa__cors
Current Version 2.2.2
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/koa__cors is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of mongoose is breaking the build 🚨

Version 5.2.7 of mongoose was just published.

Branch Build failing 🚨
Dependency mongoose
Current Version 5.2.6
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/default/mongoose-5.2.7 at 100.0% (Details).

Commits

The new version differs by 55 commits.

  • 56ff8a4 chore: release 5.2.7
  • 95c65db Merge branch 'master' of github.com:Automattic/mongoose
  • 679279c Merge pull request #6816 from Fonger/improve-ci-test
  • feff9f2 Merge branch 'master' of github.com:Automattic/mongoose
  • 9970bb2 Merge pull request #6820 from christopherhex/syncindexes-check-ttl-option
  • 8f2272b chore: add cpc inline for query docs
  • dde0cd6 chore: add space to array
  • 6e36905 test(model): fix collection name conflict in model: querying test
  • 97c5a16 fix(model): syncIndexes - check for changed expireAfterSeconds option
  • b3346f9 test(model): refactor model: querying: with conditionals
  • 394f3c8 test(model): correct test pending value to prevent ci failure
  • 33add25 fix(populate): correctly get schema type when calling populate() on already populated path
  • 09f6178 test(populate): repro #6798
  • c8be4f0 test(cursor): fix eachAsync time check to prevent potential ci failure
  • 400b29f chore: skip running linter on node v4 and v5 because eslint no longer works for those versions

There are 55 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Parameter case sensitivity issue

Parameter binding only allowed lowercase parameter name such as /host?clientid=123 and will be failed if use /host?clientId=123

An in-range update of @types/mongoose is breaking the build 🚨

Version 5.2.4 of @types/mongoose was just published.

Branch Build failing 🚨
Dependency @types/mongoose
Current Version 5.2.3
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ coverage/coveralls: Coverage pending from Coveralls.io (Details).
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/mongoose is breaking the build 🚨

Version 5.2.5 of @types/mongoose was just published.

Branch Build failing 🚨
Dependency @types/mongoose
Current Version 5.2.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/default/@types/mongoose-5.2.5 at 100.0% (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of mongoose is breaking the build 🚨

Version 5.2.6 of mongoose was just published.

Branch Build failing 🚨
Dependency mongoose
Current Version 5.2.5
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 43 commits.

  • d4f507f chore: release 5.2.6
  • 7eac18c style: fix lint
  • e47b669 fix(populate): make error reported when no localField specified catchable
  • 1e27f09 test(populate): repro #6767
  • 2b5e18a fix(query): upgrade mquery for readConcern() helper
  • 2bf81e7 test: try skipping in before()
  • d5b43da test: more test fixes re: #6754
  • e91d404 test(transactions): skip nested suite if parent suite skipped
  • 22c6c33 fix(query): propagate top-level session down to populate()
  • 0f24449 test(query): repro #6754
  • bc21555 fix(document): handle overwriting $session in execPopulate()
  • f3af885 docs(schematypes): add some examples of getters and warning about using map() getters with array paths
  • 4071de4 Merge pull request #6771 from Automattic/gh6750
  • 12e0d09 fix(document): don't double-call deeply nested custom getters when using get()
  • 695cb6f test(document): repro #6779

There are 43 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of validator is breaking the build 🚨

Version 10.5.0 of validator was just published.

Branch Build failing 🚨
Dependency validator
Current Version 10.4.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

validator is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ❌ continuous-integration/appveyor/branch: AppVeyor build failed (Details).

Commits

The new version differs by 72 commits.

  • f003962 Update the changelog
  • d12f275 Merge pull request #874 from towc/improvement-default-mobile-locale-any
  • b45c8f4 added defaulting note in README
  • b113d63 default falsey locale to 'any' in isMobilePhone
  • ed4b52d 10.5.0
  • ae81250 Reject protocol relative URLs unless the flag is set, fixes #860
  • 5733145 Update the changelog and min version
  • bedce99 Add a new prefix for NZ phone numbers, fixes #859
  • 1900ae2 Add a README entry for the new email flag
  • 730dd0d Update the changelog
  • e027403 Merge pull request #873 from chriso/chriso/domain-specific-validation-flag
  • 6030805 Put domain specific email validation behind a flag
  • f0151fa Update the changelog and min version
  • 06d94fd Merge pull request #862 from retrowaver/hotfix/pl-locale-bug
  • f1a1b90 Merge branch 'master' into hotfix/pl-locale-bug

There are 72 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of mongoose is breaking the build 🚨

Version 5.2.5 of mongoose was just published.

Branch Build failing 🚨
Dependency mongoose
Current Version 5.2.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 30 commits.

  • 04d5c03 chore: release 5.2.5
  • 9a53a2d Merge branch 'master' of github.com:Automattic/mongoose
  • 559ae4e docs(connections): add note about the family option for IPv4 vs IPv6 and add port to example URIs
  • 66a504a Merge pull request #6744 from lineus/docs-6742
  • 95e553f docs(schematypes): add note about what values are converted to booleans
  • a37fd2f fix(boolean): expose convertToTrue and convertToFalse for custom boolean casting
  • 0ff9359 test(document): repro #6758
  • 4a548af perf(model): create error rather than modifying stack for source map perf
  • ebec9d4 fix(document): fix(document): report castError when setting single nested doc to array
  • ce3e00b test(document): repro #6753
  • 58c51ba Merge pull request #6751 from sajadtorkamani/patch-1
  • e32f721 Prefix mongoose.Schema call with new operator
  • 971311e docs(query): add examples and links to schema writeConcern option for writeConcern helpers
  • 4514037 changed space to -
  • a06cda2 Merge branch 'master' of github.com:Automattic/mongoose

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of mongoose is breaking the build 🚨

Version 5.2.10 of mongoose was just published.

Branch Build failing 🚨
Dependency mongoose
Current Version 5.2.9
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/default/mongoose-5.2.10 at 100.0% (Details).

Commits

The new version differs by 55 commits.

  • a032281 chore: release 5.2.10
  • 1933d97 fix(document): ensure required cache gets cleared correctly between subsequent saves
  • f7382db test(document): repro #6892
  • 911851d Merge pull request #6920 from Fonger/patch-3
  • ae9fea3 chore: bump mongodb 3.1.4 and mongodb-core 3.1.3
  • 19a9601 style: clean up comma variable declarations
  • e778f36 fix(document): ensure array atomics get cleared after save()
  • f5102d1 test(document): repro #6900
  • 71e116c fix(model): track session option for save() as the document's $session()
  • 6bca4a1 test(model): repro #6909
  • 3b99dbd fix(geospatial): use correct context for castToNumber
  • 8b2a499 Merge pull request #6893 from ChristianMurphy/style/use-let-and-const
  • d387192 Merge branch 'master' into style/use-let-and-const
  • 2c2dbcd Merge pull request #6917 from Automattic/gh6880
  • eda0bb8 test: fix travis tests

There are 55 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add server side validation

  • validation function should returned promise
  • custom validation should easily added via configuration (should able to replace default validator or merge with default validator)
  • @plumjs/mongoose can provided some server side validation such as unique

Request authorization

Should be able to authorize specific role to send specific data on request body/query

An in-range update of supertest is breaking the build 🚨

Version 3.3.0 of supertest was just published.

Branch Build failing 🚨
Dependency supertest
Current Version 3.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

supertest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes v3.3.0

#509 - Fix #486, bug in _assertBody, switch to deepStrictEqual (thanks @mikelax)
#510 - Refactor test files to use const/let (thanks @rimiti)

Commits

The new version differs by 10 commits.

  • e910e85 chore: Prepare for v3.3.0 release.
  • bd864de Merge pull request #511 from visionmedia/bugfix-486-equal
  • 101fbf5 Merge branch 'master' into bugfix-486-equal
  • 04230bb Merge pull request #510 from visionmedia/refact-const-let
  • 510a7ae bugfix: 486 Change method to use deepStrictEqual. (#509)
  • 913150d chore(.editorconfig) [*.md] block removed
  • 82e0828 refact(test/supertest.js) vars replaced by const and let
  • 5443136 chore(.editorconfig) configuration file created
  • 7233ba6 chore(.eslintrc) parserOptions option added to use es6
  • 322ebf6 bugfix: 486 Change method to use deepStrictEqual.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

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.