Siliconrob / ownerrez-api-tester

Glitch Example Application built with Hapijs and referencing OwnerRez API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello and welcome to using Hapijs with the OwnerRez API!

This project includes a Node.js server script

  • Make sure to set all your .env variables, this example uses personal tokens
  • Node.js is a popular runtime that lets you run server-side JavaScript.
  • This project uses the Hapijs framework (I hope it makes you as happy as it does for me to use 😁) and explores basic routes on the OwnerRez API.
  • Do not use this in production

Last updated: 17 Dec 2023

Prerequisites

You'll get best use out of this project if you're familiar with basic JavaScript. If you've written JavaScript for client-side web pages this is a little different because it uses server-side JS, but the syntax is the same!

What's in this project?

README.md: That’s this file, where you can tell people what your cool website does and how you built it.

public/style.css: The styling rules for the pages in your site.

index.js: The Node.js server script for your new site. The JavaScript defines the endpoints in the site back-end, one to return the homepage and one to update with the submitted color. Each one sends data to a Handlebars template which builds these parameter values into the web page the visitor sees.

package.json: The NPM packages for your project's dependencies.

routes/: This folder holds all the predefined Swagger entry points for hapijs to communicate with the OwnerRez API.

src/: This folder holds general server side helper files for working with hapijs.

Try this next 🏗️

Take a look in TODO.md for next steps you can try out in your new site!

Want a minimal version of this project to build your own Node.js app? Check out Blank Node!

Glitch

You built this with Glitch!

Glitch is a friendly community where millions of people come together to build web apps and websites.

About

Glitch Example Application built with Hapijs and referencing OwnerRez API

License:MIT License


Languages

Language:JavaScript 92.4%Language:CSS 6.2%Language:HTML 0.8%Language:Dockerfile 0.7%