Skip to content

zaiste/secure-rest-api-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secure-rest-api-nodejs

The code for Creating Secure REST APIs in Node.js without JWTs.

Setup

It doesn't work with Node.js 12 yet.

npm install

Start a PostgreSQL instance on port 5432. Create a database named secure_rest_api_nodejs, adjust the connection settings in config/default.yml.

Start the application:

npm start

Play with the server at localhost:5544.