Coder Social home page Coder Social logo

maksimgru / wallpaper-app-symfony4-flex Goto Github PK

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

Wallpaper / Desktop Background sharing website on Symfony 4 Flex App

PHP 85.64% CSS 0.16% HTML 14.20%
symfony4 wallpapers phpspec doctrine fixture-loading dql form-types event-listener easyadminbundle twig-templates

wallpaper-app-symfony4-flex's Introduction

Wallpaper Website - Symfony 4 Flex App

View Demo N\A

  1. In this tutorial app I am going to takes a hands-on approach to building a Wallpaper / Desktop Background sharing website:
  2. To begin with in this app I'm going to make use of the following skills and technologies:
    • Controllers, Routing, Twig
    • Login Form
    • Register Form
    • Contact Form
    • Pagination on gallery page
    • Doctrine queries (DQL), results, entity repositories
    • Doctrine data load fixtures
    • Creating console commands as alternative to load image data in our DB from public/image
    • Form Type, file uploads, and form theming
    • EasyAdminBundle
    • Event Listeners, Doctrine lifecycle hooks
    • Symfony Services
    • Test Driven Development techniques (PhpSpec)
    • Bootstrap 3

Install

Run composer install in your root directory.

App Env Vars, DATABASE Config, Load Demo Data Fixtures

  1. Rename .env.dist to .env:
    • Set your DATABASE_URL and db SERVER_VERSION to config doctrine/doctrine-bundle,
    • MAILER_URL to config symfony/swiftmailer-bundle for contact form,
    • ADMIN_EMAIL email to which you will receive messages from the contact form on site;
  2. Run php bin/console doctrine:database:create to create new database by credentials from .env file.
  3. Run php bin/console doctrine:migrations:migrate to run migration process and build database schema according to our doctrine entities.
  4. Run php bin/console doctrine:fixtures:load to load demo data fixtures (category, wallpapers images), insert rows in your DB, etc.
  5. Admin User is login admin, password 1111

Development server

Run composer start or php bin/console server:start for start a dev server. Navigate to http://localhost:8000/. Run composer stop or php bin/console server:stop for stop a dev server.

Running phpspec tests

Run composer test or php vendor/bin/phpspec run to execute the phpspec tests via "phpspec/phpspec": "^4.3". Phpspec test are located in ./spec folder.

Further help

To get more help use my email [email protected] or my skype maksgru or got to my website www.m-dev.net

Screenshots

screenshot-1 screenshot-2 screenshot-3 screenshot-4

wallpaper-app-symfony4-flex's People

Contributors

maksimgru avatar

Stargazers

 avatar

Watchers

 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.