- Thats is the backend implementation of IC virtual assistent to help students and professors to get some information about Computation Institute of UFBA (ICUFBA)
- To run laravel you need install a PHP version > 7.3, the composer and a database. We are using MYSQL and to make it easy, we are using xampp which provides php and the MYSQL.
- Install xampp
- Install composer
- To install base packages you need run the command:
composer install
- To test laravel is running well, run the code:
php artisan serve
- It will return a link of server where service is runing. Access that link and check if a laravel base page is shown. That is it!
- 
After define its migrations, to run in Heroku you'll need config a database. We are using Postgre (Heroku Postgre), provided by Herokus for free. This database service has some limitations like: - maximum of 10,000 rows
- 20 connections
- maximum 10 MB of data
- orther infos:
- Plan: Hobby-dev
- Status: Available
- Connections: 0/20
- PG Version: 14.2
- Created: 2022-03-24 18:03 UTC
- Data Size: 9.2 MB/1.00 GB (In compliance)
- Tables: 9
- Rows: -9/10000 (In compliance)
- Fork/Follow: Unsupported
- Rollback: Unsupported
 
- 
To config that in Heroku you can follow that tutorial: 
- after config run the command
heroku run bash --app=virtual-assistent-backend
- It'll connect to apach2 in Heroku. So run the command
php artisan migrate --seeder
- It is the URL used do take requests to Virtual Assistent API: (https://virtual-assistent-backend.herokuapp.com/)
- The requiriments of project is avalilable in: (https://drive.google.com/drive/folders/1wQ_EoAkUwsMh9vt8VNHWr2dJ2YOKP9y1?usp=sharing)
- The arquiteture model is avalilable in: (https://drive.google.com/drive/folders/1Am2HyrRsltKiXkUHeORgqAcMWP3VGUN0?usp=sharing)
That link show the API documentation
https://ufba-classmaths.github.io/virtual-assistent-backend/
usuário colocar barra em categoria questões em todas as categorias como o usupario var navegar nas subcategorias