/auth-jwt

🔍 This project will use JSON Web Tokens with AngularJS and expressJS to authenticate user.

Primary LanguageJavaScriptMIT LicenseMIT

Imgur

Introduction

In this project, JWT is used for authenticating every request and making our API much more safe and secure.

Usage

  1. Clone this repo :

    git clone https://github.com/gauravmehla/auth-jwt

  2. Then run this command :

    bower install && npm install

  3. Open another terminal and run gulp. Gulp will start and watch for changes.

  4. Run npm start to start express server.

Note :

  • npm start will use nodemon. If it isn't installed on your system then run this command first :
`npm install -g nodemon`
  • Make sure you have mongodb server running in background. If it is not please make sure to run this command first :
`sudo mongod`

If you do not know how to setup mongodb locally, follow this.

Tools & Technology Used

Useful links