Giter Site home page Giter Site logo

scalajeremy / blog-php Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 9.42 MB

Projet de groupe blog-php, nom de notre groupe : Mots pressés

Home Page: https://rabujev.github.io/blog-php/

License: MIT License

JavaScript 1.00% CSS 7.86% PHP 36.35% HTML 54.80%

blog-php's Introduction

Team

Ludivine

Thibaut

Jamal

Jeremy

Mots Pressés

A working and simple Slim-PHP-Twig-PostgresSQL application for blogging with a MVC architecture. It also uses Docker.

The application consist of a blog, with an admin section. You can display posts, posts by categories, the team. You can obviously register on the website, and login/logout.

With the admin section, you'll have a dashboard to see how many posts, categories, users you'll have on your application. You'll also be able to add/edit/delete posts, article and users.

Status

  • Working environnement

Known issues

  • When a category is deleted, and a post had only this category attached to it then it won't be displayed anymore even though the post is still in the database. -fix is to just check if when we want to delete a category, get all the posts that only have this category and change the category to a default one which is called 'uncategorised'

To-do

  • Comment section add/edit/delete/display

Install the Application

You'll need docker, npm and composer, php, php-pgsql.

Clone the repository in the folder of your choice. git clone https://github.com/rabujev/blog-php.git

Then go inside the folder and install all the dependencies. cd blog-php && npm install && composer install

To start the application on dev-mode in local, just run the command npm run dev

The gulpfile.js will start docker with adminer for the database on localhost:9000 , and also the php server at localhost:8080

You have a db.sql file that can set up the database. You just need to import it in your database. Do not forget to edit the src/System/settings.php file to your database port, username, password, database name.

blog-php's People

Contributors

scalajeremy avatar thibautjanssens avatar rabujev avatar

Watchers

James Cloos avatar

Forkers

thibautjanssens

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.