- PHP ^7.1.3
- Laravel 5.8
- React ^16.2
- Typescript ^3.6
- All project configurations will be found in
config/app.php
file - For schema and mock data, look at
database/migrations
anddatabase/seeds
- The application uses a Service Layer. All logic is performed inside a service file.
- The above also means: Controller are used to control the request flow ONLY.
- The React/Typescript (.tsx) code can be found at
resources/assets/js/react
folder. - Refer to the official Laravel documentation for general understading.
Follow this guide to get started with the application.
- Create a
.env
file in the project folder - Copy content of
.env.example
to.env
- Execute
php artisan key:generate
to generate an application key (required for encryptation) - Edit the
.env
as you wish.
Install Composer dependencies: composer install
Create and populate the database: php artisan migrate --seed
Serve Locally: php artisan serve
Install Npm dependencies: npm install
Build JS once: npm run dev
Serve JS as Live Browser: npm run watch
Admin Account: admin@app.com / admin
Student Account: student@app.com / student
Feel free to edit the users you want in the application.
Edit database/seeds/UsersTableSeeder.php
.
Iugu - (Payment Provider in Brazil)[https://dev.iugu.com/docs/iugu-js]
Marlon Alexandri Junges Ferreira
Montreal, QC - CA