generator-jwt-webapp
v1.1.18
Published
> React / NextJS frontend using JWT token authentication via Mongodb backed Node instance.
Downloads
749
Maintainers
Readme
generator-jwt-webapp
React / NextJS frontend using JWT token authentication via Mongodb backed Node instance.
Installation
First, install Yeoman and generator-jwt-webapp using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-jwt-webapp
- Also, make sure to have MongoDB installed and run
mongod
or create project using a remote DB Uri.
Next, create root folder where project will live and navigate to it:
myDirectory
can be anything
mkdir myDirectory && cd myDirectory
Finally, generate your new project:
yo jwt-webapp
Follow Instructions...
Running the Webapp
In one terminal tab:
$ cd api
$ npm run start
In another terminal tab:
$ cd client
$ npm run dev
Open browser of choice and launch
localhost:3000
Getting To Know Yeoman
- Feel free to learn more about Yeoman.
License
Apache-2.0 © Mike Schmerbeck