captnwalker / rant-and-rave

**IN DEVELOPMENT** Scream into the digital abyss. "Rant and Rave" is an exercise in building a MVC framework from scratch posing as a Social Media platform. Similar to REACT, Angular or Laravel, this is built on a Custom MVC Framework written in PHP. This framework does include PDO to help prevent SQL injection. **IN DEVELOPMENT**

Home Page:https://rant-and-rave.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IN PRODUCTION - Rant and Rave

Purpose of this App

Scream into the digital abyss. "Rant and Rave" is an exercise in building a MVC framework from scratch posing as a Social Media platform. Similar to REACT, Angular or Laravel, this is built on a Custom MVC Framework written in PHP. This framework does include PDO to help prevent SQL injection. Please refer to the docs below on how to implement.

Table of Contents

How to Use

As a simple social network app users create an account, log in, create a post. Owners can edit or delete their own posts. All logged in users can view (read-only) all users posts.

Deployment / TO BE DEPLOYED ON 5/2018

Follow this link to the Rant and Rave on the Web on 5/2018

Preliminary Screenshot of this Project - Production build / preliminary styling / not final UI/UX

Rant and Rave

Tech Stack

Core Styling Database
PHP CSS3 MySql
BootStrap 4.0 PDO - Database Access Abstraction Layer
Google Fonts

MVC File Structure

app
├── config
│   └── connection.php
│ 
├── controllers
│   │── Pages.php
│   ├── Posts.php
│   └── Users.php
│
├── views
│   ├── inc
│   │   │── header.php
│   │   │── footer.php
│   │   └── navbar.php
│   │── pages
│   │   │── about.php
│   │   └── index.php
│   ├── posts
│   │   │── add.php
│   │   │── edit.php
│   │   │── index.php
│   │   └── show.php
│   └── users
│       │── login.php
│       └── register.php
│
├── models
│   └── Post.php
│   └── User.php
│ 
├── libraries
│   ├── Controller.php
│   ├── Core.php
│   └── Database.php
│
├── helpers
│   ├── session_helper.php
│   └── url_helper.php
│
├── composer.json
│
├── .htaccess
│
├── bootstrap.php
│
public
├── js
│   └── main.js
├── css
│   └── styles.css
├── img
│   └── images.png
│
├── index.php
│
├── .htaccess
│
.htaccess
│
schema
│  └── schema.sql
│
vendor (Generated content)

How to Implement

  1. Clone down this repo.
  2. Create your own SQL server in phpAdmin
  3. In config/config.php update server settings with your settings
  4. In public/.htaccess update SITENAME on line 4 of RewriteBase
  5. Build Models in the model folder according to the model example provide. (example model not intended to be included "as is" in your project)
  6. Open your project folder in browser localhost/_YOUR_PROJECT_FOLDER_/pages/

License

MIT

April 2018

About

**IN DEVELOPMENT** Scream into the digital abyss. "Rant and Rave" is an exercise in building a MVC framework from scratch posing as a Social Media platform. Similar to REACT, Angular or Laravel, this is built on a Custom MVC Framework written in PHP. This framework does include PDO to help prevent SQL injection. **IN DEVELOPMENT**

https://rant-and-rave.herokuapp.com/

License:MIT License


Languages

Language:PHP 98.7%Language:CSS 1.3%