Skip to content

hlaueriksson/jamstack-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAMstack

This is an experiment where I'm trying to build a JAMstack site.

Modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup.

The ingredients are:

The source code for the Hugo site:

The source code for the Azure Functions:

The site is hosted by Netlify at:

Run

To run the site locally, edit /src/site/data/api.toml:

[recipe]
get_ingredients = "http://localhost:7071/api/Ingredients/"

[submit]
post_recipe = "http://localhost:7071/api/Recipe"

Run the Hugo site:

cd src/site

hugo server

Run the Azure Functions:

cd src/api

func host start --cors http://localhost:1313

Browse:

http://localhost:1313

Attributions

The jam recipes was taken from the Swedish site Tasteline.com:

Translations from Swedish to English was done with Google Translate.

The images was taken from Flickr: