A small demo for testing purpose. Implemented upload .json file via http request, parse all content from .json and pass them to database, retrieve those data and display at table form on web page.
symfony v4.1|symfony server php 7.19 mysql 5.0+
- Open windows cmd/linux terminal, get into file root
cd ../../jsonuploadkick
, install dependenciescomposer install
. - Configure database information in
/.env
file, find rowDATABASE_URL=mysql://{username}:{password}@127.0.0.1:3306/{dbname}
- Run
php bin/console server:run
or$ .bin/console server:run
MySql 5.7.9 (Integrated with WampServer 3)
dbname: Json
dbtable: Json
localhost:8000
test source: source.json"# jsonuploaddemo"
https://github.com/GYLngm/jsonuploaddemo.git
"# jsonuploaddemo"