louisquach / plm Goto Github PK
View Code? Open in Web Editor NEWReact - Symfony project - List Premier League Match results, generate pdf and csv file
React - Symfony project - List Premier League Match results, generate pdf and csv file
Project: Premier League Match Results A. Goals: + Using React for frontend and php symfony backend + Able to read, write and modify data + Generate pdf, csv file B. Description: - Make a small project to display football match result, with an admin dashboard where user can modify the results and extract the result to pdf or csv file. - The frontend will be created by using Reactjs with Semantic ui, React Hook, React Context - The backend will be using PHP Symfony - Database using MariaDb - Axios for sending http requests. - Practice to create functions: + convert date format + Pagination D + Read and insert data from csv file to database D + Generate csv D and pdf file C. Configuration - Set up symfony project full framework: symfony new [projectname] --full - Install encore to use React: composer require encore - Create env.local file and change database connection detail - Enable ReactPreset() in webpack.config file - Install node_modules: npm install - Run symfony server: symfony server:start - Install some react support package: npm install --save-dev @babel/preset-react & npm install react react-dom proptypes - Run npm install again to update package - Start npm: npm run watch - Create default controller: php bin/console make:controller -> set controller name - Change index.html.twig & base.html.twig files, add encore_entry_link_tags and encore_entry_link_tags - Change app.js content in asset directory to react file - Choose setting->live template-> rfs (react functional without proptypes)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.