generator-jwt-webapp

1.1.18 • Public • Published

generator-jwt-webapp NPM version

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

License

Apache-2.0 © Mike Schmerbeck

Package Sidebar

Install

npm i generator-jwt-webapp

Weekly Downloads

0

Version

1.1.18

License

MIT

Unpacked Size

13.8 MB

Total Files

297

Last publish

Collaborators

  • schmerb