Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions docs/backend_visualisation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Backend System Visualisation

This diagram will give you a quick overview of what the backend system looks like.

## What does the integration look like?
![app_w_relation](https://user-images.githubusercontent.com/29667122/81039468-71bf2600-8eec-11ea-8a9f-149a9dda0a0f.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These images can be stored on the repository itself, we can never be sure what are the longevity of these URLs that are taken from inline comments.

Copy link
Member Author

@mtreacy002 mtreacy002 May 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, for your suggestion, @SanketDG. Storing the images in the repository is no question the most ideal way. The thing is for normal contributors like us who're not maintainers of the repository, we don't have access and can't upload files as we like. So, @isabelcosta and I viewed this method (uploading to PR comment and refer it in doc) as the next best thing as alternative. Hope this makes sense 😉

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mtreacy002 Apologies, I do not seem to understand. You can always put the images in the working directory of the git repository and then just git push them so that they appear here, and then they can be referenced from the README files

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, @SanketDG if I confused you. @isabelcosta and I discussed this matter (the best way to put image on repository/.md files) here. Instead of uploading the files as binary files we decided the better way is to use reference link from images uploaded to comments like these ones here. Please let me know if this clear up your doubt. Or perhaps you have a better suggestion, we'd like to hear about it. 😉

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, gotcha! I can see how this is beneficial (lesser repository size, smaller clone times) but Git can handle binary files pretty well but it also has a tradeoff, (offline READMEs not a possibility) But yeah, if the image sizes are a problem, then it's better not to add them to the repository.


## Classes mapping
![class_diagram](https://user-images.githubusercontent.com/29667122/78555317-1ac42380-7850-11ea-876a-d60ef71020b6.png)

### - Data persistence layer

![data_persistence_layer](https://user-images.githubusercontent.com/29667122/81034923-1e44dc00-8edc-11ea-9098-501e9ed826c7.png)

### - Data access layer

![data_access_layer](https://user-images.githubusercontent.com/29667122/81034952-34529c80-8edc-11ea-8e85-92b0658bfc20.png)

![namespaces](https://user-images.githubusercontent.com/29667122/81035028-7d0a5580-8edc-11ea-927e-79ef25ecc9c2.png)

![app_api_general](https://user-images.githubusercontent.com/29667122/81035041-8e536200-8edc-11ea-91f6-bb9b5d1758de.png)

![app_schedulers_and_utilities](https://user-images.githubusercontent.com/29667122/81035078-b347d500-8edc-11ea-9fad-daec8ae46037.png)

### - Service layer

- #### user.py

![user_py_1](https://user-images.githubusercontent.com/29667122/81035536-b9d74c00-8ede-11ea-90b2-d998a1b3c74d.png)
![user_py_2](https://user-images.githubusercontent.com/29667122/81035552-d07da300-8ede-11ea-83ca-100aa8fe5c75.png)
![user_py_3](https://user-images.githubusercontent.com/29667122/81035574-dffcec00-8ede-11ea-86ad-60eb57552863.png)

- #### admin.py
![admin_py](https://user-images.githubusercontent.com/29667122/81035517-a75d1280-8ede-11ea-970b-8792474a270a.png)

- #### common.py
![common_py](https://user-images.githubusercontent.com/29667122/81035504-990ef680-8ede-11ea-923c-b7e48f40a688.png)

- #### mentoship_relation.py
![mentorship_relation_1](https://user-images.githubusercontent.com/29667122/81035402-200f9f00-8ede-11ea-95b4-42cc8a941f9a.png)
![mentorship_relation_2](https://user-images.githubusercontent.com/29667122/81035463-5f3df000-8ede-11ea-8a01-493f7cac5dde.png)
![mentorship_relation_3](https://user-images.githubusercontent.com/29667122/81035477-6d8c0c00-8ede-11ea-8d98-a295e1fbc8f2.png)
![mentorship_relation_4](https://user-images.githubusercontent.com/29667122/81035487-809edc00-8ede-11ea-9c08-55970859d926.png)


You can get a closer look by viewing the file [here](https://drive.google.com/file/d/11gLOJdIu8bRC3OJ0o6K9MqUVeaR_j2ij/view?usp=sharing).