Giter VIP home page Giter VIP logo

starter's Introduction

The symfony framework(6.0.1) starter template

What is required?

php: '>=8.0.2'
composer: '>=2'
nodejs: '>=14'
yarn: '>=1.22.17'
docker: '>= 20.10.12'
docker-compose: '>= 1.29.2'

This template is designed for a quick start of enterprise application development based on the symfony framework.

It contains a ready template of administrative panel, main page template, authorization controllers, etc. Uses docker, nginx, php 8, bootstrap 5, stimulus 3

The following functionality is implemented in the template

  1. User locale detection: [App\EventSubscriber\StartupSubscriber]
  2. Separate entry points and firewalls for the control panel and the user's personal account
  3. [App\Service\DocumentService] allowing you to add an entry point, set title, description, keywords, etc. A global document variable is available for all twig templates
  4. ...

For a quick start, run the following commands:

1. Install the javascript dependencies and run build:

yarn install && yarn build
# or
npm install && npm run build

2. Build and run a docker container

make build && make start
# or
docker-compose build && docker-compose up -d
# then
make cache-clear (docker exec -it php-fpm php bin/console cache:clear) or go to homepage: http://127.0.0.1:8000

3. Update database schema

make schema-update
# or
docker exec -it php-fpm php bin/console doctrine:schema:update --force

4. Add the system administrator and user to the database

make fixtures
# or
docker exec -it php-fpm php bin/console doctrine:fixtures:load

http://127.0.0.1:8000 - homepage
http://127.0.0.1:8080 - database control panel
http://127.0.0.1:8000/dashboard - control panel [user: [email protected], password: admin_]
http://127.0.0.1:8000/account - user's personal account [user: [email protected], password: user_]

starter's People

Contributors

mlcrm avatar

Stargazers

 avatar Moncef Essid 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.