Skip to content

atlmendoza/app

Repository files navigation

Hello Node

Node.js is a popular runtime that lets you run JavaScript on the server instead of in a browser. This project uses the Fastify framework to explore basic templating with Handlebars and submitting data using forms and querystrings.

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.

server.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.

src/: This folder holds the main template for your site along with some basic data files.

src/: This folder holds the site template along with some basic data files.

src/pages/index.hbs: This is the main page template for your site.

src/colors.json: A collection of CSS color names. We use this to pick a random color, and to match searches against color names.

src/seo.json: When you're ready to share your new site or add a custom domain, change SEO/meta settings in here.

Glitch

You built this with Glitch!

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages