Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zaiste/secure-rest-api-nodejs
Creating Secure REST APIs in Node.js without JWTs
https://github.com/zaiste/secure-rest-api-nodejs
cookie-authentication huncwot-framework jwt nodejs rest-api
Last synced: 2 months ago
JSON representation
Creating Secure REST APIs in Node.js without JWTs
- Host: GitHub
- URL: https://github.com/zaiste/secure-rest-api-nodejs
- Owner: zaiste
- Created: 2019-04-17T17:35:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:46:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T16:46:58.474Z (3 months ago)
- Topics: cookie-authentication, huncwot-framework, jwt, nodejs, rest-api
- Language: JavaScript
- Homepage: https://zaiste.net/creating-secure-rest-api-nodejs-without-jwt/
- Size: 486 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# secure-rest-api-nodejs
The code for [Creating Secure REST APIs in Node.js without JWTs](https://zaiste.net/creating-secure-rest-api-nodejs-without-jwt/).
## 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`.