Skip to content

Faez-B/symfony-easy-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Symfony App

This app has an admin dashboard made by EasyAdmin bundle and it uses Symfony UX (Chart.js). The whole Symfony app (including Symfony UX) has been dockerised.

Clone the project

  git clone https://github.com/Faez-B/symfony-easy-admin.git

Go to the project directory

  cd symfony-easy-admin

Run Locally...

  cd app

1 - Composer installation

  composer install

2 - NPM installation

  npm install
  npm run build

3 - Start the server

  symfony serve

4 - Run the NPM script

  npm run watch

Go to 127.0.0.1:8000

...or Run with Docker

1 - Launch the containers

docker compose up --build -d

2 - Command line

# Makefile
make inside

Go to 127.0.0.1

Either way

You should have the following folders in your project directory

  /public/build/
  /public/bundles/
  /vendor/
  /node_modules/

Available routes

  /         : ROLE_USER
  /admin    : ROLE_ADMIN
  /login    : PUBLIC_ACCESS
  /register : PUBLIC_ACCESS