Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.56 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.56 KB

Yay!

This is my first laravel+react-based app! It is fake pizzeria app, where you can order some meals and manage orders as admin. It would be more feauters after couple of moths ;)

This is libraries I've used:

  • react-router-dom (for routing in admin space)
  • reactstrap (for bootstrap modals, popovers and buttons)
  • prop-types (as library of react property types)
  • react-table (for admin space tables)
  • tymon/jwt-auth (for authorization and token authentification)

This is TODO list:

  • Add admin space

  • Add login feature

  • Make app fully adaptive

  • Make code more readable and write comments

  • Refactor styles SASS way

  • Protect API from outdoor use

  • Separate project to backend and frontend

  • Add meals, deals, settings, intro items CRUD to admin space

  • Add user profile: default phone number, name and address

  • Add order list for authorized users

  • Add all texts to site settings and make it editable in admin space

  • Add tests for both react and laravel code

  • Refactor app using new experience!

This is deploy steps:

  1. Clone this repo
  2. Add .env file with your environment settings
  3. Create database and grant privileges to user you will use to that database
  4. Add database settings to .env file
  5. Run composer install
  6. Run npm install to install dependencies
  7. Run php artisan migrate --seed to create tables and fill them with default data
  8. Finally, run npm run prod

This is app itself (use admin@2pizza.com - delicious! credentials to auth)