Skip to content

Re-designed back end of existing retail website to handle high traffic demands using Docker-Compose and service-oriented architecture.

Notifications You must be signed in to change notification settings

aywgit/docker-backend-service

 
 

Repository files navigation

Senior Design Capstone - Scaling Backend

The goal of this capstone project was to create the back end of the "Questions and Answers" service of a mock fashion website that can scale to the demands of production traffic.

System Design

  • RESTful API to handle requests to a MongoDB database
  • ETL (Extract, Transform, Load) process from csv files consisting of over six million records containing flawed data
  • Designed and built an API server to provide data to the client in the format specified by the API documentation
  • Optimized database and query methods for speed and response
  • Deployed using Docker-Compose and AWS EC2 t2.micro instances
  • Stress tested all API routes, checking for RPS (requests per second), latency, and error rate

Stack

Languages
Frameworks / Libraries
Testing/Tools artillery Postman
Deployment
Workflow Trello Discord

Usage

This can be readily used as a teaching tool for using Docker-Compose to quickly deploy a full stack application. Simply clone down, open your Docker desktop, and run docker compose up to spin up images for 🙆‍♀️ the frontend client, 📬 the server, and 📂📂 a MongoDB-powered database. Alternatively, uncomment out line 4 and comment out line 5 of docker-compose.yml in order to see the Dockerfile in action.

About

Re-designed back end of existing retail website to handle high traffic demands using Docker-Compose and service-oriented architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.0%
  • Dockerfile 7.0%