Skip to content

nosliwsirhc/annies_havens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annie's Havens Website

This repo is for the development work done for Annie's Havens - a foster care agency in the province of Ontario. The goal of the website is to raise awareness of Annie's Havens to potential foster parents.

Technologies Used

The pages served to the browser are rendered on a NodeJS server using Express. The templating engine is Express-Handlebars utilizing a helper function to inject page specific Javascript thanks to Wolfgang Ziegler. Nodemailer is used on the server to send messages that users create on the website. Bot screening is handled by Recaptcha offscreen. The entire UI framework utilizes MaterializeCSS with some custom CSS added.

SEO

A JSON file is used to supply the metadata for each page including OpenGraph tags. Not sure of this is the best approach. For development purposes, a robots.txt file located in the assets directory prevents indexing and there is a meta tag in the main.hbs layout preventing indexing and following.

Notes

Some work was done to get the page load time down. Videos are lazy loaded and future work will include getting images to lazy load. Older versions with the environmental variables supplied through json and .env files were removed to align with best practices.