Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
/ friendzone Public archive

social network for educational purposes only

Notifications You must be signed in to change notification settings


Repository files navigation

friendzone - a social network is rising

friendzone discontinued! Please use use the successor InstaHub.

Source code and install instructions are in English. Documentation and excersices currently are available in German only.

friendzone is a social network for educational purpose only. Students can create their own social network as a database admin. They learn basics about working in a software project, creating and managing a database, querying (SQL SELECT) and editing (SQL INSERT, UPDATE and DELETE).

This project aims to help students develop a general technical understanding of social networks. As result, they will be able to discuss sinjects as big data and information privacy.

Live Demo:

Read more (only in German):

Standing on the shoulders of giants

Many thanks and respect to:



Prerequisits for Windows users

Mac Os, Ubuntu and Windows

  1. Create a local database named friendzone with encoding utf8_general_ci
  2. Create user friendzone and grant all rights on friendzone and for creating databases
  3. cd to your local target folder and clone remote project: git clone git://
  4. Rename .env.example file to .envinside your project root and fill in the database information. (windows won't let you do that, so you have to use Notepad++ or open your console, cd your project root directory and run mv .env.example .env )
  5. Edit .env
    • APP_ENV=production
    • APP_DEBUG=false - enable only temporaly for debugging!
    • DB_* - if you want another database than MySQL, you have to edit source code.
    • DB_USERNAME - user for database
    • DB_PASSWORD - passwort for database
    • MAIL_* - mail provider for resetting passworts (admin accounts may reset passworts without sending a mail)
    • PHPMYADMIN - url for opening phpMyAdmin - Example:
  6. Open the console and cd to your project root directory
  7. Run composer install or php composer.phar install
  8. Run php artisan key:generate
  9. Run php artisan migrate
  10. Run php artisan db:seed to run seeders, if necessary.
  11. Visit website and create first user.
  12. In the user table of your database, manually set the attribute is_admin to 1. Now your user is admin and may manage other accounts.


Thank you for considering contributing to the friendzone! Create a pull request or contact me.


Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

Contact me if you need an other licence.