/nullstack-jwt-auth

JWT register and login using Nullstack

Primary LanguageJavaScript

Jwt Auth

Serverless register and login sample application using Nullstack and JWT

Watch the video

Nullstack

How to run this Project

Install the dependencies:

npm install

Copy the environment sample to a .env file

NULLSTACK_PROJECT_NAME="[dev] Jwt Auth"
NULLSTACK_PROJECT_DOMAIN="localhost"
NULLSTACK_PROJECT_COLOR="#D22365"
NULLSTACK_SERVER_PORT="5000"
NULLSTACK_SECRETS_SESSION="reactehcoisadehipster"
NULLSTACK_SECRETS_DATABASE_URL="mongodb://localhost:27017/"
NULLSTACK_SECRETS_DATABASE_NAME="test"

Run the app in development mode:

npm start

Open http://localhost:5000 to view it in the browser.

Learn more about Nullstack

Read the documentation