This sample application demonstrates the following technologies.
- hapi - a wonderful Node.js application framework
- PostgreSQL - a popular relational database
- Postgres - a new PostgreSQL client for Node.js
- Vue.js - a popular front-end library
- Bulma - a great CSS framework based on Flexbox
- EJS - a great template library for server-side HTML templates
Requirements:
- Node.js 12.x or higher
- PostgreSQL (can be installed locally using Docker)
- Free Okta developer account for account registration, login
- Clone or download source files
- Run
npm installto install dependencies - If you don't already have PostgreSQL, set up using Docker
- Create a free Okta developer account and add a web application for this app
- Copy
.env.sampleto.envand change theOKTA_*values to your application - Initialize the PostgreSQL database by running
npm run initdb - Run
npm run devto start Node.js
The associated blog post goes into more detail on how to set up PostgreSQL with Docker and how to configure your Okta account.