Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlogBook, Blog App, PZAgency Technical Assignment

This program was a technichal assesment project made for PZAgency, over 2 days.
The Deadline was 5 days, but unfortunately i only had 2 days to actually work on the project.
I want to thank PZAgency for the opprotunity, and i hope you like BlogBook.

In this file, you will find:

  1. Instructions on how to set up the app on your machine
  2. An overview of all the functions available in the app

1) Setup Guide

Follow the next steps:

  1. Clone the project from GitHub, using the following link: https://github.com/DroidStudioAS/PZAgency.git
  2. Go to phpMyAdmin (or any other database managment tool you prefer), and import the blogbook.sql file found in the root directory of this project.
  3. Go to models->Database.php and make sure you change the values in the construct function to match your database configurations (All the lines you have to edit are marked with a commen "//CHANGE THIS").
  4. Once you got this far, you have 2 options:
    • Place the entire project in the root directory of whatever AMP software you are using (WAMP/XAMPP/MAMP/LAMP), and access it that way
    • If you are using VSCode and have the Live Server extension installed, you can just start it up through VSCode

And you are set! Hope you enjoy BlogBook!
If you want to login to a user that already has posts and comments:
Username: testuser
Password: 123456

2) App Overview

The following is an overview of all the features available in the app

  1. Authentication

    To use this web app you have to create an account. the index page of the project is the authentication portal where you can create your acount or login with one of the acounts that came premade.
  2. Posts

    The app allows you to post things to blogbook, which will then be visible by other users. All the most recent posts are available in the home feed
  3. Expand Posts

    At the bottom of every post you will find an expand post button. Once clicked it will take you to the posts permalink page, where you can leave comments or follow/unfollow the post author.
  4. Comments

    As i have already mentioned, you can only add/view comments from the post permalink page (once you hit expand post). In the profile section there is a button leading to the your comments page, where you can edit and delete your comments.
  5. Following

    The app allows you to follow certain users. This can, like comments, only be done from the posts permalink page. Once added, on the left side of the homescreen you will see the user you followed pop up. If you click his name, it will take you to a page, where you can see all of his posts
  6. My profile

    In the navigation bar you will see a page labeled my posts. from here you can get an overview of all the things you posted. This is where you can also edit and delete your posts. To do so, just hover over the post you want to edit or delete, and the buttons will show right up.

Thanks again to the team at PZAgency, for giving me this opportunity!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages