Skip to content

Fraow is web application that brings together users social media accounts and contact addresses and profile them.

License

Notifications You must be signed in to change notification settings

emiryusuftopbas/Fraow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fraow

This app brings together users social media accounts and contact addresses and profile them.

I coded this project during the first term time of the year when I started university.

The database of the project was deleted, I re-created it by looking at the codes.

Used Libraries

  • PHPMailer

  • Bulma css

  • Jquery

  • Croppie

  • Sweetalert

  • Jquery mask

How to run

You need php to run this project.

  • Clone this Project
git clone https://github.com/emiryusuftopbas/Fraow.git
  • Create database and import fraow.sql
  • Change the config.php file that located in the core folder

You are ready to run Fraow.

File structure

  • assets
    • images
    • profileimages
    • scripts
    • stylesheets
  • core
    • classes
  • view
    • dashboard
    • page
  • index.php
  • profile.php
  • .htaccess

Assets folder

In the assets folder we have scripts stylesheets and images.

Core folder

In the core folder there are php scripts that we send post request from client side using ajax.

Also there are functions.php file that we defined our functions and there are config.php file for database and mail server configuration.

View folder

In the view folder we have our view files we include them in our index.php file.

Index.php file

There is a routing system in the index.php file and we include our pages according to the changing url information.

Example : If we go example.com/settings page , routing system calls a function named settings.

function settings($par,$db){
		$dashboardSettings = 'view/dashboard/settings.php';
		if (session('loginsession')) {
			$dashboard=null;
		    require_once $dashboardSettings;
		}
	}

Available social networks

available social networks

You need add available social networks manually.

There are two asn_type value contactinfo and socialmedia.

Profile section

Users only can add available social network profile links to their profile.

mobilephone , homephone , whatsapp , email and website are pre defined social network types , there must be in the available_social_networks table and also in the addsociallink.php we have special control for them. There are input masks for them in the main.js file.

asn_url : This column is very important. While adding social links users can type their social media profile link's url or username. Fraow parses the url using asn_url value.

asn_status : 1 for active, 0 for passive.

Screenshots of Fraow

Database tables

database-diagram

Contributors

License & copyright

Licensed under the MIT License

About

Fraow is web application that brings together users social media accounts and contact addresses and profile them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published