Skip to content

VesnaSUG/FOAM-Recipes

Repository files navigation

Table of Contents generated with DocToc

FOAM-Recipes

This repository contains the completed FOAM cooking recipe database application from the FOAM tutorial. It serves as a reference for those who wish to explore the finished code without following the tutorial hands-on.

Tutorial

The full tutorial has been moved to the main FOAM3 repository:

FOAM Tutorial

If you want to learn FOAM by building the application from scratch, follow the tutorial there. You'll start with an empty repository and build up the application step by step.

Running This Example

If you only wish to run and explore the completed application, follow these steps:

Prerequisites

You need Java, Node.js and Maven installed in your environment. Should you need to install them, helpful tips can be found in the FOAM installation instructions.

Setup

Clone this repository, then add FOAM as a submodule:

git submodule add git@github.com:kgrgreer/foam3.git
git submodule update --init --recursive --rebase --force

Install the generic npm packages that FOAM depends on:

cd foam3/
./build.sh --install
cd ../

Run the Application

./build.sh -Jdemo

Open your application in the web browser at http://localhost:8080/. Use one of the following credentials:

# administrator - full access
user: admin
password: badpassword

# regular non-privileged user - can only interact with Recipes
user: demo
password: demopassword

Important

To stop the FOAM server, type CTRL+C twice.

About

Sample FOAM cooking recipe database application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors