For virtually 10 years, I was developing national online social network services which hosted millions of users. In 2001, I started to develop one of the first blogging services in my home country called IranBlog. In 2006, I developed the first Twitter-like service in my country that had Facebook-style social network capabilities named Peyghamak. These projects were developed based on distributed computing concepts where the service could scale up on demand. For this reason, I developed a course to teach students with web design and development at university. I have been with World Wide Web (W3) since its beginning days.
There are two other projects: a) BookStotre is a complete portal for a bookstore with online payment, and b) News is a portal for news management within a news organisation such as newspapers, etc.
The databases of all these websites were designed using MSSQL/MYSQL with stored procedures in order to increase performance as much as possible.
Licence: Note that the code can be changed and reused as long as you keep the copyright inside and at the beginning of source files in the source directory unchanged. If these websites are used everywhere, they should be cited as Alireza Poshtkohi, Fully fledged web-based platforms for social networks, shopping sites and more, https://github.com/poshtkohi/web-development.