Backend application- created with Nodejs, Postgres, Postgis
- Installation
- Import data
- APIS
- API Documentation
- Directory Structure
- AWS IAAC
Ensure you have [Docker][docker] installed.
To run the application, you need to build the docker Image.
For building the docker image,
docker-compose build
To run the docker image,
docker-compose up
Db script to import data to postgres
+-- node-app
+-- src
+-- scripts
- Get states List
- Get users in a state by stateID
.
+-- node-app
| +-- Dockerfile
| +-- documentation
| +-- openapi.yaml
.
+-- node-app
| +-- Dockerfile
| +-- documentation
| +-- src
| | +-- scripts
| | +-- app.js
| | +-- services
| | | +-- get-state.js
| | | +-- state-to-user-mapper.js
+-- postgres
+-- Dockerfile
+-- state.csv
+-- user_table.csv
I have attached a sample code basic_cloudformation_template.yaml
containing the example configuration for the AWS cloudformation. Below attached is the system architecture diagram for the same.