ZohebMOPO / jwt-auth-postgres

Learning JWT authentication in PostgreSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Name & Pitch

Source code for JSONWEBTOKEN(jwt) authentication in your web apps.

Project Status

I made this auth system NodeJS.

Installation and Setup Instructions

Clone down this repository. You will need node, npm and postgresql installed globally on your machine.

Setting up:

npm init

Installation:

npm install express sequelize pg pg-hstore body-parser cors jsonwebtoken bcryptjs --save

Database Creating:

createdb -U <your username> <your database name>

To Run Server:

node server.js

To Visit App:

localhost:8080

Any help?

DM me here

About

Learning JWT authentication in PostgreSQL.


Languages

Language:JavaScript 100.0%