Node.js Weight Tracker
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:
Install and Configuration
- Clone or download source files
- Run
npm install
to 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.sample
to .env
and change the OKTA_*
values to your application
- Initialize the PostgreSQL database by running
npm run initdb
- Run
npm run dev
to 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.