Build fully featured high performance apps in less time using FOAM.
- Application Speed
- Application Size
- Developer Efficiency
"Fast apps Fast"
Feature Oriented Active Modeller
cd src; ./gen.sh; cd ../build; cp ../tools/pom.xml .; mvn compile; mvn package
Or you may build and run using
And to clean the project, you may use
FOAM has no runtime dependencies, but uses a number of third party tools for unit tests, code coverage, and linting. You can install all required tools by doing the following.
Run 'npm install' in the root of the FOAM repository, where package.json is found.
Running Application Controller
The FOAM Application Controller allows you to access components of your foam app by using the browser & displaying it as a GUI. To access, run the following in the parent directory of foam2:
Build java (see above)
All code should follow the style guide.
npm test runs standard unit tests.
npm run testDebug runs the unit tests with a debugger.
npm run coverage runs code coverage and creates an html report in /coverage.
For in-browser testing, run your favorite web server at the root of the FOAM repository. In a browser, navigate to http://localhost:8000/test/browser/SpecRunner.html to run the unit tests.
Before contributing code to FOAM, you must complete the Google Individual Contributor License Agreement.