Initializing generator
As the initialized admin generator modules are based on the existing models, generating the backend modules can only be done on a module basis. For example, if we want to create an administration module for the careers section, this would in fact create a whole careers module.
Creating application and module
Let's start by creating the backend application. Type the following in the terminal window:
> symfony generate:app -–escaping-strategy=on --csrf-secret=UniqueSecret1 backend
This creates the backend application for us, which consists of the skeleton folder structure in the apps/ folder and the backend controllers located in web/backend.php and web/backend_dev.php. This process is exactly the same as when you created the frontend application. And just like the frontend application, the backend has been built in the app/ folder.
To add a new StoreLocation module to our application, type this in the terminal window:
> symfony propel:generate-admin backend StoreLocation...