Skip to content

This repository provides a sample demo application to be used in the context of the Webinar presentation about CI/CD pipelines in AWS

Notifications You must be signed in to change notification settings

zircon-tech/webinar-users-service-api

Repository files navigation

Users Service API

This project is a simple demo Node.js application for a Users Service API. It is designed to be used as part of a webinar session about CI/CD pipelines in AWS.

image

Installation

To install and run the Users Service API locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/zircon-tech/webinar/users-service-api.git
    cd users-service-api
  2. Build the docker image:

    docker build -t users-service-api .
  3. Start the container:

    docker run -p 8080:8080 users-service-api

Deployment

This project comes with a Terraform configuration to deploy the Users Service API to AWS. To deploy the API, follow these steps:

  1. Install Terraform:
    brew install terraform
  2. Define your variables in terraform.tfvars:
    region = "us-east-2"
    ...
  3. Initialize Terraform:
    terraform init
  4. Plan the deployment:
    terraform plan -var-file="terraform.tfvars" -out="out.plan"
  5. Deploy the changes:
    terraform apply "out.plan"

Usage

Once the server is running, you can interact with the API using tools like Postman or curl. The server will be running on http://localhost:8080.

License

This project is licensed under the MIT License.

About

This repository provides a sample demo application to be used in the context of the Webinar presentation about CI/CD pipelines in AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published