GitXplorerGitXplorer
a

securing-restful-apis-with-jwt

public
341 stars
149 forks
1 issues

Commits

List of commits on branch master.
Unverified
1115a8145569ab07db7debc3ecb978a63e61d8ff

Merge branch 'master' of https://github.com/adnanrahic/securing-restful-apis-with-jwt

aadnanrahic committed 6 years ago
Unverified
e0d32a704ed5bedf1a639a38f0c7288890fb36e1

(updated dependencies)

aadnanrahic committed 6 years ago
Unverified
842d7803d81f1ed523ff6f83b9ded62fc98fc178

Merge pull request #1 from NotSoSmartNow/patch-1

aadnanrahic committed 7 years ago
Unverified
04b7d3f738cbebd803ece19945b3309f8bcdaddc

Update README.md

NNotSoSmartNow committed 7 years ago
Unverified
8fb1570355dd8dbd98d6ede786a82da709d10356

update readme

aadnanrahic committed 7 years ago
Unverified
29af4a4f8938be3f75333363185b6756c84aa2a5

edit readme

aadnanrahic committed 7 years ago

README

The README file for this repository.

Securing RESTful APIs with JWT

How to secure a Nodejs RESTful CRUD API using JSON web tokens?

This tutorial will demo how to use JWT with an existing bare bones API using mongodb as the database.

It consist of a User model and controller. The model defines the data, and the controller will contain all the business logic needed to interact with the database.

It has a db file which will be used to connect the app to the database, and an app file used for bootstrapping the application itself.

The server file is used to spin up the server and tells the app to listen on a specific port.

The auth folder contains the configuration for registering and logging users in, signing and verifying tokens.

Follow the tutorial for this repository at https://medium.freecodecamp.org/securing-node-js-restful-apis-with-json-web-tokens-9f811a92bb52