Siliconrob / ownerrez-image-carousel

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: 13 May 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/index.html: The styling with special CSS

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/properties.js: This folder holds all the predefined Swagger entry points for hapijs to communicate with the OwnerRez API. The properties route grabs the thumbnail urls for all the properties to display

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

License:MIT License


Languages

Language:JavaScript 51.6%Language:HTML 41.6%Language:Dockerfile 6.8%