Restful Nodejs API for easy task management! π
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
- Nodejs (v 14.17)
- npm (v 6.14)
- Docker
- Serverless Framework
- DynamoDB
- AWS lambda
- AWS-SDK
- Express
- Husky
- ESLint
- Jest
- Joi
- ...
app
β __mocks__ β Source folder for mock dependencies
β __test__ β Source folder for unit, integration and features tests
β .husky β Source folder for husky hook scripts
β my-dynamodb-data (generated) β Dynamodb-Local data
β node_modules (generated) β NPM dependencies
β src β Application sources
β domain β Application services layer
β services β Application business rules
β infra β Application infrastructure layer
β db β Application data handler
β dynamodb β Dynamodb implementation
β factories β Adapters between dynamodb data and application entities
β helpers β Dynamodb implementation helpers
β migrations β Module for creating and removing dynamodb tables
β repositories β Operation to put, read and remove data in dynamodb tables
β seeders β Module for inserting and removing data in dynamodb tables
β helpers β Infrastructure helpers
β main β Application main layer
β adapters β adpters
β config β config
β factories β Application component builders
β middlewares β middlewares
β routers β routes
β presentation β Application presentation layer
β controllers β Application requests handler
β errors β Presentation errors
β helpers β Presentation helpers
β validations β Request schema validations
β utils β Application utils
β enums β enums
β errors β errors
β helpers β helpers
β regular-expressions β regular expressions
β index.js β Application entry point
β ... β Other files
npm install
npm run start-dynamodb
Unit Tests
npm run test-unit
Integration Tests
npm run test-integration
Feature Tests
npm run test-feature
Coverage Test ( performs all the above tests)
npm run test-coverage
npm run start-dynamodb-migrations
npm run start-dynamodb-seeders
npm run start-dev