Skip to content

Commit eb127cc

Browse files
author
Cyan Tarek
committed
2 parents 1746454 + 0ec0d17 commit eb127cc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Microservices architecture based web application
2+
3+
This is example web application based on microservices architecture. It has 3 decoupled and scalable services:
4+
5+
01. Products Management
6+
02. Order Management
7+
03. Email Sending
8+
9+
Technology Stack:
10+
01. Python
11+
02. Django/Django REST Framework
12+
03. Mongodb
13+
04. Nginx
14+
05. Docker
15+
06. Swagger UI
16+
17+
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
18+
19+
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.
20+
21+
For testing:
22+
01. Clone the repo
23+
02. Run "docker-compose build" while inside the services folder
24+
03. After docker completes all the building staffs, run "docker-compose up -d" to run each microservices.
25+
04. Now go to your localhost, docker machine ip or server ip to access the API endpoints.
26+
27+
API endpoints: please see /api/v1/{services}/docs/
28+
29+
Deployed and tested in a real production server.

0 commit comments

Comments
 (0)