Tag: express

  • Simple Nodejs Server with Express, JWT, sqlite3

    This is a simple Node.js server using Express, JWT with sqlite3. With the route middleware to authenticate and check token. Send request with token in session, body, param or header: req.session.token req.body.token req.param('token') req.headers['n-access-token'] Table contents Requirements Install Run the Server Usages /login /me /people /logout /logout Acknowledgements Credits Requirements Nodejs Node Dependencies: "body-parser": "~1.18.3",…