GithubHelp home page GithubHelp logo

josephjlee / traversymvc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aivirth/traversymvc

0.0 0.0 0.0 753 KB

Mini php framework created originally by Brad Traversy through his Udemy Course. Completely open source.

PHP 91.61% JavaScript 3.05% CSS 0.02% TSQL 5.31%

traversymvc's Introduction

Mini PHP framework

Mini PHP framework created by Brad Traversy through his udemy course. Customized by me and used as base for integrating and testing new technologies.

Disclaimer

It's not advisable to use this for live projects as this is still an alpha project I'm using to learn and exercise. If you are inclined to help with bugs corrections and developing new features you are free to do so.

Getting Started

Copy the project in your folder and install the database dump in your PhpMyAdmin. Follow the instructions to complete the installation.

Prerequisites

  • Apache Server
  • PHP 5.6+
  • Node.js
  • Mysql Database

Install XAMPP for an easy quickstart

Config File

Modify the app/config/config.php file according to your needs. You can use example.config.php file inside the same folder as an example based on my local settings.

//Database Configuration
define('DB_HOST', '<databaseHost>');
define('DB_USER', '<databaseUser>');
define('DB_PASS', '<databasePassword>');
define('DB_NAME', '<databaseName>');

Modify it like this

//Database Configuration
define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'shareposts');

htaccess file

Modify che .htaccess file inside the public folder to match the name of your installation folder

Install the Database

Create a database of your choice in PhpMyAdmin and import the traversy_mvc.sql file in it.

Install node dependencies

Run the following command inside the same folder where is present the package.json file.

npm install

Built With

  • PHP
  • Node
  • Bootstrap CSS 4.0

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

Objectives

  • Javascript functionality in views
  • Basic userfriendly CMS setup similar to wordpress for backend
  • Media Gallery
  • Vue.js implementation
  • Conversion to BulmaCSS
  • MaterializeCSS fork
  • React.js fork
  • Webpack implementation

traversymvc's People

Contributors

aivirth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.