Code Monkey home page Code Monkey logo

testrepository's Introduction

HomexCloud Microservices

Microservices contains all of the Lambda Functions & exposed as api with API gateway Integration.

Prerequisites

NodeJS = 8:10v
Serverless Framework = 1.32.0v
AWS account Keys With full admin access

Project structure

├───App
│   handler
│   ├── config
│   ├── controller
│   ├── middleware
│   ├── locales
│   ├── route
│   ├── auth
│   ├── db
│   ├── errors

src directory

Contains all TypeScript files for this project

/config

Contains constants that are environment specific

/controller

Contains controller that are mapped to routes, there must be no business logic here

/middleware

Contains custom middleware

src/route

All routes are mapped here. Authentication middleware is mapped to router.

IDE

It is highly recommended to use IDE that supports nodeJS, such as Visual Studio Code.

API Documentation

API Documentation is hosted by ccs-microservices project by utilizing Swagger. Swagger specification can be found here.

Source Code Repository

git clone https://github.com/HomeX2018/homexCloud-microservices.git

My Setup

Terminals open running these commands:

  • npm install -g serverless
  • serverless config credentials --provider aws --key accessKey --secret secretKey
  • serverless deploy

testrepository's People

Contributors

prabhatnagpal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.