Microservices contains all of the Lambda Functions & exposed as api with API gateway Integration.
NodeJS = 8:10v
Serverless Framework = 1.32.0v
AWS account Keys With full admin access
├───App
│ handler
│ ├── config
│ ├── controller
│ ├── middleware
│ ├── locales
│ ├── route
│ ├── auth
│ ├── db
│ ├── errors
Contains all TypeScript files for this project
Contains constants that are environment specific
Contains controller that are mapped to routes, there must be no business logic here
Contains custom middleware
All routes are mapped here. Authentication middleware is mapped to router.
It is highly recommended to use IDE that supports nodeJS, such as Visual Studio Code.
API Documentation is hosted by ccs-microservices project by utilizing Swagger. Swagger specification can be found here.
git clone https://github.com/HomeX2018/homexCloud-microservices.git
Terminals open running these commands:
- npm install -g serverless
- serverless config credentials --provider aws --key accessKey --secret secretKey
- serverless deploy