Skip to content

Book Store 📖 built with Symfony + React.js + MySQL + Google Books API Project

Notifications You must be signed in to change notification settings

silmu/BooksNook_Symfony

 
 

Repository files navigation

React React Router Symfony MySQL PHP JavaScript Google

Book Nook - fullstack app (React.js + Symfony)

Fullstack app made as a project for Symfony and React courses at BC Helsinki. It has React.js in the front, Symfony in the back and MySQL (phpMyAdmin) as a database. It uses Google Books API for fetching books.

Steps to follow

  1. Copy the folder to SymfonyMAMP and rename to "web". Then cd to "web"
  2. Install dependencies using composer install
  3. Install front-end dependencies using npm install
  4. Create SQL database
    • Open file .env in "SYMFONY-MAMP" folder (not the "web" folder!)
    • Rename database to DATABASE_NAME=bookstore
  5. Start Docker container SYMFONY-MAMP. Make sure you have now "bookstore" database in phpMyAdmin.
  6. Afterwards you can run webpack encore using following command npm run watch
  7. Visit URL: http:https://localhost:8007/ to see the app
  8. Use Crtl + C to stop the watch

Scripts

  • npm run watch - to run locally
  • npm run deploy - to create build, commit and push to Heroku

Tech stack

  1. SymfonyMAMP
  2. Symfony
  3. React.js
  4. React router
  5. MySQL
  6. PHP
  7. Google Books API

About

Book Store 📖 built with Symfony + React.js + MySQL + Google Books API Project

Topics

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 54.0%
  • PHP 38.4%
  • CSS 4.4%
  • Shell 1.8%
  • Twig 1.4%