Bootstrap your next microservice with a lightweight node.js serverless framework.
Note: This repository contains the core code of the Lesgo! framework. If you want to build an application using Lesgo!, visit the main Lesgo! repository.
This framework uses Jest test framework for unit testing.
All test files exist in the respective src/__tests__/
directory.
Run test
$ yarn test
Run code coverage report
$ yarn coverage
View the generated html report in coverage/index.html
.
Declare test environment configurations as NODE variables in setupTest.js
.
You may contribute to the core framework by submitting a PR to the develop
branch.
The codebase is written in ES6 (ES2015) syntax and compiled and minified to ES5 in the build
directory. This build
directory will be used by Lesgo!
To compile
$ yarn build