1.2.1 • Published 2 years ago
nodejs-appbuilder v1.2.1
Sumário
Project
Create NodeJS applications with a Serverless handler, easily add routes.
Pre-requisites
Before you start, install it on your machine: Git, Node.js. Some code editor like VSCode
🎲 Running the Project
# Clone the repository
$ git clone <https://github.com/celio1878/nodejs_appbuilder>
# Access the projeto in the terminal/cmd
$ cd nodejs_appbuilder
# Go to codes directory
$ cd code
# Install the dependencies
$ npm install
# Exec the tests
$ npm test
# Verify the test coverage
$ npm run test:coverage
Architecture
Layered architecture with TDD.
Coverage all functionalities in the tests.
Main Libs
Scrits
npm test
: Exec all tests of project
npm run test:watch
: Exec all tests of project and watch for changes
test:coverage
: Exec all tests of project and generate a coverage report
build
: Build the project,
prepare
: Prepare the project for production,
find-deadcode
: Find dead code in the project,
Functionalities
- Create API
- Create a new route
- Test Coverage
- Remove unused code
- Build