mjamore / carlieamoredds

Carlie's dentistry website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netlify Status

carlieamoredds

This is the source code for Carlie Amore's dentistry website:

Run Gatsby Website Locally:

  1. Create a .env file at the root of this project with the following entries:

  2. npm install
  3.  npm start

Workflow for Developing/Deploying/Testing the Netlify Serverless Function:

In order to send emails to Carlie when the user submits the contact form or the new testimonial form on the website, this application contains two serverless function that are deployed through Netlify and located in the netlify/functions/ directory - sendContactFormEmail.js and sendNewTestimonialEmail.js.

  1. Make sure you have a .env file setup, as described in step 1 under the 'Run Gatsby Website Locally section.

  2. netlify dev
  3. You should now be able to invoke the functions locally by hitting these URLs in the browser

  1. netlify deploy --prod
  2. You should now be able to invoke the functions on Netlify by hitting these URLs in the browser

  1. The following are ways to test/debug the Nelify functions:

Deployment:

Netlify/Gatsby Cloud is used as a continuous build/deployment server, as well as for hosting the site. The site is automatically built each time the main branch is pushed.

Postman:

There is Postman collection located at postman/carlieamoredds.postman_collection.json, which contains calls to the Contentful API for getting data to power the website. In order to run the Postman collection, import it into Postman and then create a new environment containing variables for SPACE_ID and ACCESS_TOKEN, both of which can be obtained from https://app.contentful.com/spaces/73jild2dfrc8/api/keys/7oCbo2CeMg1SBkfBB6gcze.

Influences:

To-Do:

  • Customize SEO metadata to each page
  • Add google analytics
  • Clean up:
    • Image directory
    • Fonts directory
  • Sitemap?
  • Fix issues identified in Lighthouse reports

Heart tooth logos:

Contentful CMS:

Organization: Michael Amore Spaces: carlieamoredds Environments: master Content Types: About Me Section Content

About

Carlie's dentistry website


Languages

Language:TypeScript 77.0%Language:JavaScript 17.2%Language:CSS 3.4%Language:Sass 2.4%