Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
assets
views
.editorconfig
.gitattributes
.gitignore
LICENSE
README.md
account.php
index.php
robots.txt
signup.php

README.md

Assignment in PHP ( photoify ) - Yrgo

Christmas assignment 2018 in PHP at Yrgo in Sweden Gothenburg. Deadline for: 2019-01-17 09:00 This assignment is called photoify and is a supposed to mimic instagram functionalities like user account creation, log in features + more

Languages Used:
HTML CSS PHP SQL Javascript Markdown <- Readme.md

( In this project we use an sqlite database to store information )

Code License: MIT

Installation:

  1. Click this link to download this project as a zip-file
  2. Extract the compressed zip-archive to the root of your webserver
  3. Change the root to point to photoify or photoify-master depending on how you downloaded the project
  4. Start or restart your webserver to load the services and apply the new configuration
  5. Scroll down this readme for screenshots and to read about usage

Guide to change the root in MAMP on Mac/Windows:
mamp-how-to-change-the-root-directory-on-apache-server

Example Servers and links:

Download GIT-CLI or GIT-GUI if you need or want to clone this repository to your computer...

Usage:

  1. Connect to localhost with your browser (preferably google chrome or mozilla firefox)
  2. On the login page you may create a new account by clicking on "Don´t have an account ?"
  3. Sign in through the login form and you will be directed to account.php
  4. See the screenshots below for desktop and mobile views...
Desktop
  1. Profile-module and overview
  2. Timeline for posts
  3. Create post-module
  4. Button to edit/delete post (Will only appear on user's own posts)
  5. Like-button for posts (Won't appear on user's own posts)
  6. Button to edit/delete your account and all of its content
  7. Link to log out from your account and end your session
  8. Errors and success messages will appear here

Account Desktop

Mobile
  1. Menu to toggle profile-module and overview
  2. Create post-module
  3. Button to edit/delete post (Will only appear on user's own posts)
  4. Button to edit/delete your account and all of its content
  5. Link to log out from your account and end your session
  6. Profile-module and overview

Mobile Account Mobile Menu

Functions:

This project incorporates below functionalities:
  • User account creations
  • Login functionalities
  • Logout functionalities
  • Functionality to edit your account
  • Uploading of new avatar images
  • Creations of new posts with images and description
  • Edit published posts
  • Delete published posts
  • like/unlike content
  • Delete your account and all of it´s content

Testers:

Name OS Browser Status
Erik Arvidsson macOS Mojave 10.14 Google Chrome 71.0.3578.98 Working
Charmaine Wang macOS High Sierra 10.13.6 Google Chrome 71.0.3578.98 Working
Charmaine Wang Iphone IOS 12.1.2 Safari 12.1.2 Working
Maria Eidland Windows 10 Home Mozilla Firefox 64.0 Working
Ida Hallner Windows 10 Home Google Chrome 7.x Working
Fredrik Leemann macOS Yosemite 10.10.5 Mozilla Firefox 65.0b5 Working
Fredrik Leemann macOS Yosemite 10.10.5 Google Chrome 72.0.3626.28 Working
Fredrik Leemann macOS High Sierra 10.13.6 Google Chrome 71.0.3578.98 Working
Fredrik Leemann macOS High Sierra 10.13.6 Mozilla Firefox 65.0b8 Working
Fredrik Leemann macOS High Sierra 10.13.6 Safari 11.1.2 Working
Fredrik Leemann Windows 7 Home Premium SP1 Google Chrome 71.0.3578.98 Working
Fredrik Leemann Windows 7 Home Premium SP1 Mozilla Firefox 63.0.3 Working

Resources:

Favicon:

Favicon.io

Credits: John Sorrentino
Downloadpage here
CSS framework

Bootstrap

CSS Sanitize CDN

CDN link here

Font Awesome 4.7:
Markdown quick reference cheat sheet

Markdown cheat sheet

Links to stackoverflow

Images in markdown

Images side by side


YRGO - Christmas Assignment 2018 ( PHP ) - 2019-01-17 09:00 URL www.leemann.se/fredrik

You can’t perform that action at this time.