Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

README.md

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:

You can’t perform that action at this time.