Creating Secure REST APIs in Node.js without JWTs
The code for Creating Secure REST APIs in Node.js without JWTs.
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
.