This repository contains code for backend including api service and frontend for web service. We are now using Symfony as our backend framework, and Vue as our frontend framework. The code is currently used for https://nfls.io.
PHP >= 7.1, MySql >= 5.6, Redis, Composer, NPM, Bower
Copy and configure all parameters form .env.dist correctly in .env
- Install dependencies from composer and npm in the root directory.
- Install bower dependencies in public/assets directory.
- Migrate the database using bin/console doctrine:schema:update --force.
- (For Linux/maxOS)Run dev.sh.
- (For Windows)Run
bin/console server:run
andnode_modules/.bin/encore dev --watch
in two separated consoles. - Now the website is available locally.
- Run prod.sh, it will automatically install all the dependencies and migrate the database.
We are using BrowserStack to test frontend compatibity on all major devices.
For all the things related to development(e.g. issues, releasing schedules), please visit https://dev.nfls.io.