I am trying to create a niche of a social network, for example Instagram, as a Python / Django application.
So, all I need is regarding architecture, (I think):
- REST API (e.g. api.mystagram.com).
- A public website (www.mystagram.com or mystagram.com).
- URL shortener (e.g. mystagr.am).
- Android app
- iPhone app
- Windows Phone App
- ...
Before that, I had only created simple websites for some less simple websites, but I had never been extremely complicated with my own custom APIs or so. I have never created my own REST API before (I used other REST APIs) or even created an Android / iPhone application and distributed it in the Play Store / App Store (although I made some typical welcome examples).
So, the most important thing for me, it seems, is to first create a REST API for kick-ass and go from there. I am blocked, however, by several questions.
- How to organize projects for a public website and REST API? Should they be separate Django projects, or should I create only one Django project and add both a public website and a REST API as an internal Django module?
- Should a public website also use the REST API? Or is it better to use simple Django models for this?
Thanks in advance for your help! If someone knows some great presentations or so on this topic (architecture), we are always welcome!
Regards, Christoph
Braek source share