Coder Social home page Coder Social logo

krapie / aws-vpc-describer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 104 KB

Node.js Express Server with Swagger UI for fetching AWS VPC resources(regions, VPCs, subnets) and storing in MySQL Database.

JavaScript 100.00%
aws-sdk-javascript-v3 express javascript nodejs prisma mysql

aws-vpc-describer's Introduction

AWS-VPC-Describer

Node.js Express Server with Swagger UI for fetching AWS VPC resources(regions, VPCs, subnets) and storing in MySQL Database.

swagger-ui.png

Table of Contents

  • Getting Started
    • Prerequisites
    • Instructions
  • Development
    • Project Requirements
    • Project Structure
    • References

Getting Started

Just clone this repository and follow instructions bellow!

Prerequisites

Instructions

# clone repository
git clone https://github.com/Krapi0314/AWS-VPC-Describer.git

# change to project directory
cd AWS-VPC-Describer

# create a .env file by copying and adjusting env.example
cp env.example .env

# install dependencies using npm
npm install

# map prisma data model to the mysql database schema
npx prisma migrate dev --name init

# start server (nodemon)
npm start

# enter Swagger URL and check AWS VPC APIs and Schemas!
http://localhost:3000/api/v1/aws/api-docs

Development

Project Components

Project Structure

Client

  • controller: API controllers for fetching/serving AWS VPC resources
  • primsa
    • schema.prisma: Model for AWS VPC resources, this corresponds with MySQL tables
  • routes: Router for routing APIs with Express
  • service: Service for MySQL CRUD operation on AWS VPC resources
  • server.js: Main entry point, Exprses/Swagger/CORS configuration

Refences

AWS SDK JavaScript v3

AWS VPC Resources schema

aws-vpc-describer's People

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.