HTML C# CSS JavaScript Batchfile
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.vscode vscode settings May 30, 2017
src added slash to base url for js menu fix Jun 24, 2017
.deployment deployment hooks May 30, 2017
README.md README Jun 24, 2017
deploy.cmd deployment hooks May 30, 2017

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: