Code Monkey home page Code Monkey logo

generator-kube-microservice-node's Introduction

Wanderson Alves ๐Ÿš€

I'm a software engineer based in Pernambuco, Brazil with ten years of experience in the software industry.

I have worked with nodejs/dotnet/java/ruby backends, vuejs/angularjs/angular@12+/react/vanilla frontends, prototyping websites/application with Figma and Sketchup, built CI/CD pipelines with Jenkins, planned micro-services architectures using Kubernetes.

Technology Industries I have worked on so far: financial services, health care, educational, telecom and sales.

Email LinkedIn

โš Based in Pernambuco, Brazil

ฯŸ Currently Refactoring yeelight-manager

Skills

C# JavaScript Typescript HTML5 CSS3 React Vue Angular SASS Redux Webpack Babel NodeJS Express GraphQL Mongo DB MySQL PostgreSQL Firebase Heroku

Cool Story Bro

generator-kube-microservice-node's People

Contributors

allcontributors[bot] avatar blira avatar dependabot[bot] avatar wandersonalves 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

generator-kube-microservice-node's Issues

[BUG] Error: Missing required @injectable annotation in: MongoService.

Describe the bug
Fresh install, added the .env file in roots application and still got an error, I could expect something like, missing parameters or something like that if the error occurs due to missing configuration, however it just shows this error:
Error: Missing required @Injectable annotation in: MongoService

FULL STACK
Debugger listening on ws://0.0.0.0:9229/40db971f-14fd-4e87-97d0-2987999825e6
For help, see: https://nodejs.org/en/docs/inspector
20:18:17 info:main: Configuring server
20:18:17 info:main: Bootstraping server

/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/reflection_utils.js:21
throw new Error(msg);
^
Error: Missing required @Injectable annotation in: MongoService.
at getTargets (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/reflection_utils.js:21:15)
at Object.getBaseClassDependencyCount (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/reflection_utils.js:93:23)
at /home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:108:67
at Array.forEach ()
at _createSubRequests (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:94:20)
at /home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:115:17
at Array.forEach ()
at /home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:114:26
at Array.forEach ()
at _createSubRequests (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:94:20)
at Object.plan (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/planning/planner.js:136:9)
at /home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/container/container.js:317:37
at Container._get (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/container/container.js:310:44)
at Container.getAll (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify/lib/container/container.js:239:21)
at Object.getControllersFromContainer (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify-express-utils/lib/utils.js:7:26)
at InversifyExpressServer.registerControllers (/home/hackerunet/Projects/SuperPesos/super-shoppers-datastream/maia-k-invoices/node_modules/inversify-express-utils/lib/server.js:142:35)
error Command failed with exit code 1.

Expected behavior
Fresh install after getting all dependencies I attempted to run the application using yarn and it runs and then crashed.

Additional context
Linux mint OS
Not using rabbit or redis.
my .env file has the variables declared in the env.ts file:
server_port: 27017,
mongodb_url: mongo://127.0.0.1:27017/test,
mongodb_database_name: test
mongodb_authsource: admin

[BUG] Unable to use logical query operations on top level filter

Describe the bug
Can't use any logical query operator on filter atribute of find, deleteMany

Expected behavior
The above filter should be auto-completable by vscode

const result = await this.notificationService.find({
      databaseName: tenantID,
      filter: {
        $or: [
          {
            tags: {
              $in: [_id],
            },
          },
          {
            segments: ['All'],
          },
        ],
      },
    });

Update generated README.md

Describe the bug
Currently, the README.md of the project generated by this generator is written in the old version of this generator

Expected behavior
A README.md explaing how to work with the generated project

[BUG] The project folder remains with no content after command `yo kube-microservice-node`

Describe the bug
After running yo kube-microservice-node and answering to requested inputs, the project folder remains with no content.

Expected behavior
The yo kube-microservice-node command should receive the expected inputs and create the project structure.

Additional context
node version v4.17.6
npm version 6.14.15
OS Ubuntu 20.04.3 LTS ( 5.11.0-34-generic )

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.