API Gateway + Vue JS + Express + PostgreSQL
This repository showcases an API gateway fronting an app that uses Vue JS, Express and PostgreSQL. Each piece of architecture is running isolated on their own container.
How it looks like in local
TODO: Add diagram for local development
How it will look like in AWS
Pre-requisites
The following items should be installed on your machine:
- Docker (Containerization)
- Docker Compose (Service Orchestration Locally)
- NodeJS (API and GUI Development)
- .NET Core (API Gateway Development)
Technology Stack
- .NET Core
- Node JS
- VueJS
- Express JS
- Ocelot
- PostgreSQL
Running Application
Run the following on the project root directory:
docker-compose up
Access GUI Locally
To access GUI, navigate to http://localhost:52793
To hit an API, navigate to http://localhost:52793/v1/api/users/list
Manually Deploy Cloud Formation Stack via AWS CLI
# NOTE: This repository is still under development and compilation of
# containers are not yet automated. I will update repository within the
# next two weeks.
# Navigate to scripts folder and run the following command
aws cloudformation create-stack --stack-name my-stack-name \
--template-body file://root-stack.yml --profile YOUR_AWS_PROFILE_NAME \
--parameters ParameterKey=TemplateS3BucketUrl,ParameterValue=YOUR_S3_URL_HERE
TLDR;
I'm writing about API gateways in my blog @ https://www.pogsdotnet.com