/pristine-app

A highly optimized, scalable web app to post blogs and images built on SPA+REST API architecture.

Primary LanguagePHP

PRISTINE APP

A highly optimized, scalable web app to post blogs and images built on SPA+REST API architecture.

Ask for Demo on : Pristine

Running

A step by step series of examples that tell you how to get a development env running

Install symfony dependencies:

your_path/blog
composer install

Install react dependencies:

your_path/react
npm install

Setup the Database

Create the database and the schema!

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load

If you have problems, completely drop the database (doctrine:database:drop --force) and try again.

Run frontend:

your_path/client
npm start

Run backend (test env):

your_path/blog
APP_ENV=test php -d variables_order=EGPCS -S 127.0.0.1:8000 -t public

Run backend (dev env):

your_path/blog
APP_ENV=dev php -S 127.0.0.1:8000 -t public

Built With

Author

  • William del Rosario - Initial work - Github