This project is a RESTful API built with Symfony, serving as the backend for an Angular-based NFT marketplace.
It includes an admin dashboard, data visualization with Chart.js, and asset compilation using Webpack Encore.
- Symfony (recommended: version 5.4)
- PHP 7+
- PhpMyAdmin
- Webpack Encore for asset bundling
- Bootstrap 5 for the admin interface
- Chart.js for dynamic data visualization
- TypeScript supported
git clone https://github.com/your-username/your-project.git
cd your-projectcomposer installphp bin/console doctrine:database:create
php bin/console doctrine:migrations:migratenpm installnpm run dev # Compile assets
symfony server:startScript Description npm run dev Compile assets in development mode npm run watch Watch for changes and recompile npm run build Compile assets for production npm run dev-server Run the Webpack dev server with hot reload
Webpack Encore for asset management
Bootstrap 5 for UI components
TypeScript
Chart.js for advanced graphs
The admin panel is available at /admin (or your custom route). It allows:
Managing users & datas
Tracking NFT transactions
Displaying statistics with Chart.js
Full CRUD on entities
The project uses JWT authentication (or another configurable method) to protect API endpoints. User roles like ROLE_ADMIN and ROLE_USER are supported.
The API exposes all resources needed for the Angular frontend: users, NFTs, transactions, etc. You can use API Platform or create manual controllers like ApiController.php.
├── assets/ # Frontend files (js/ts/scss)
├── src/ # Symfony PHP source
│ ├── Controller/
│ ├── Entity/
│ └── Repository/
├── templates/ # Twig templates (admin panel)
├── public/ # Public-facing assets
├── config/ # Symfony configuration
└── package.json # Frontend dependencies and scriptsDeveloped by Joris Bertier
This project is licensed UNLICENSED – for private/internal use only.
Let me know if you'd like a version tailored for public open-source release (with MIT license)