Coder Social home page Coder Social logo

plm's Introduction

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)  

plm's People

Contributors

louisquach 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.