Code Monkey home page Code Monkey logo

nestjs-email-authentication's Introduction

Hi there 👋

nestjs-email-authentication's People

Contributors

daniel-dia avatar dependabot[bot] avatar marcomelilli avatar mmelilli avatar omnecon 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  avatar  avatar  avatar  avatar  avatar

nestjs-email-authentication's Issues

Missing packages in package.json

Looks like there are missing packages of modules in your project.

BY THE WAY, any plan to upgrade it to version 6+?

ALSO, why do you use var in too many variable? I just want to understand a little bit about your point of view, I know there's no must of only using let and const, just consider this question as for educational purposes.

npm run start

`TSError: ⨯ Unable to compile TypeScript:
src/users/schemas/user.schema.ts:13:3 - error TS2322: Type 'String[]' is not assignable to type 'string | Function | Schema | SchemaDefinition | SchemaTypeOptions | Schema[] | SchemaTypeOptions[] | Function[] | SchemaDefinition[]'.
Type 'String[]' is not assignable to type 'Schema[]'.
Type 'String' is missing the following properties from type 'Schema': add, clone, eachPath, index, and 35 more.

13 roles: Array(),
~~~~~

node_modules/mongoose/index.d.ts:1116:5
1116 [path: string]: SchemaTypeOptions | Function | string | Schema | Schema[] | Array<SchemaTypeOptions> | Function[] | SchemaDefinition | SchemaDefinition[];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The expected type comes from this index signature.
`

Thanks,

Connection to mongo atlas

Hi everyone I am trying to connect this to mongo atlas.

I only got the MONGOURI.

How do I fill this if my database is on mongo atlas :

"db": {
"user": "root",
"pass": "example",
"host": "mongo",
"port": "27017",
"database": "testdb",
"authSource": "admin"
}

error TS2769: No overload matches this call.

This project is looking very promissing. Sadly I run into the following build-issue:

TSError: ⨯ Unable to compile TypeScript:
src/auth/auth.service.ts:49:11 - error TS2769: No overload matches this call.
  The last overload gave the following error.
    Type 'number' is not assignable to type 'string'.

49           emailToken: Math.floor(Math.random() * (9000000)) + 1000000, //Generate 7 digits number

I am running node v13.1.0 on Windows. What could be the issue?

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.