Giter Site home page Giter Site logo

malekkadri / user-crud-symfony5 Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 21.99 MB

Users CRUD using SB admin template with login, register and roles requires php: >=7.2.5/Symfony 5.4

Shell 0.17% PHP 8.20% CSS 36.64% HTML 2.36% JavaScript 1.80% SCSS 19.90% Twig 30.93%

user-crud-symfony5's Introduction

User-Crud-Symfony5

Users CRUD using SB admin template with login, register and roles requires php: >=7.2.5/Symfony 5.4

features

Languages and frameworks

  • PHP >=7.2.5
  • MySQL (MariaDB)
  • HTML / CSS
  • Javascript (Aos, Glightbox, Isotope, Validate, Purecounter, swipper, Waypoints, Bootstrap)
  • Bootstrap (v5)
  • Google fonts (Open Sans)
  • Font awesome 5

Entities

  • User

Pages

  • home
  • user profile
  • login
  • registration
  • admin section and dashboard

To initialize the project

  • clone the repository: git clone https://github.com/malekkadri/User-Crud-Symfony5.git
  • Install all packages : composer install
  • set up a .env.local file from .env with:
    • MySQL credentials, server address, server port, database name
    • MAILER_DSN info to send emails (i use Mailhog for dev and a SMTP server for prod)
  • Create new database: symfony console doctrine:database:create
  • Build the migration: symfony console make:migration
  • Export into MySQL: symfony console doctrine:migrations:migrate
  • Install CKEditor : symfony console ckeditor:install
  • Install CKEditor assets : symfony console assets:install public
  • Install Elfinder (file browser for CKEditor) : symfony console elfinder:install
  • Change to PRODUCTION in .env.local (APP_ENV=prod)
  • Empty cache : symfony console cache:clear
  • Register a first account (/register) then change its role to ["ROLE_ADMIN"] in database
  • Login with this admin account and connect to admin dashboard (/login)
  • ... then start to create new categories and new articles
  • Tags will be automaticaly created as you write them (SELECT2 JQuery plugin)

user-crud-symfony5's People

Contributors

malekkadri avatar

Stargazers

ademwertani avatar aliakbar motallebi avatar  avatar  avatar  avatar emmamme447 avatar Louay avatar  avatar  avatar  avatar Malik Kadri avatar

Watchers

 avatar

user-crud-symfony5's Issues

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.