• Stars
    star
    160
  • Rank 234,703 (Top 5 %)
  • Language
    JavaScript
  • Created over 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

UNMAINTAINED

UNMAINTAINED

Microservices architecture based web application

This is example web application based on microservices architecture. It has 3 decoupled and scalable services:

  1. Products Management
  2. Order Management
  3. Email Sending

Technology Stack:

  1. Python

  2. Django/Django REST Framework

  3. Mongodb

  4. Nginx

  5. Docker

  6. Swagger UI

Python used as the backend development language. Django used as the backend framework. Django REST Framework or DRF used as the REST API development framework, Mongodb used as the database backend, Nginx used as the API gateway and finally docker used as the deployment method. Swagger used for documenting API

Each services have their seperate database completely decoupled. Nginx sits in front of each of the services to abstract all the microservices API endpoints into single one.

For testing:

  1. Clone the repo
  2. Run "docker-compose build" while inside the services folder
  3. After docker completes all the building staffs, run "docker-compose up -d" to run each microservices.
  4. Now go to your localhost, docker machine ip or server ip to access the API endpoints.

API endpoints: please see /api/v1/{services}/docs/

Deployed and tested in a real production server.