Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Node Authorization API incorporating Json Web Tokens. Download this Boilerplate for quick start . Incorporating Mongodb

License

NotificationsYou must be signed in to change notification settings

jwill9999/Node_Auth_API_with_JWT_Boilerplate

Repository files navigation

> git clone https://github.com/jwill9999/Node_Auth_API_with_JWT_Boilerplate.git> cd Node_Auth_API_with_JWT_Boilerplate> npm install> connect to your database first then> npm run dev> Server is run on port 3000

API Endpoints

/signin

web_token POST in header as authorization key

/signup

web_token returned as json object to user

Additional setup

connect a Mongodb database prior to running the API server

environmental variables should be declared in a .env file

The two variables you should declare are

JWT_SECRET

DATABASE_CONNECTION

Key Features

Node Express Server

API Backend

MongoDb Database

Authorisation

Passport Js Local and JWT

Json Web Tokens

AuthGuards

Bcrypt Salt and Hash Encryption

Links

Expressjs

passportjs Local

Passportjs JWT

MongoDb Docs

Bcrypt for nodejs

Dotenv Documentation

About

Node Authorization API incorporating Json Web Tokens. Download this Boilerplate for quick start . Incorporating Mongodb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp