Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JwtStrategy requires a secret or key #3

Open
mabotn opened this issue Aug 5, 2017 · 1 comment
Open

JwtStrategy requires a secret or key #3

mabotn opened this issue Aug 5, 2017 · 1 comment

Comments

@mabotn
Copy link
Member

mabotn commented Aug 5, 2017

I've tried to clone the repo on my desktop and installed packages through npm and then started the project using npm start command and I am now thrown into this exception

JwtStrategy requires a secret or key

@karimsaieh
Copy link
Member

karimsaieh commented Aug 5, 2017

add a file named ".env" in your root directory, that contains:

export DB_URI = mongodb://localhost/yourdbname
export secret = yoursecret

and type gulp in the cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants