Skip to content

SilvaEngComp/virtual-assistent-backend

Repository files navigation

Virtual IC Assistent

  • Thats is the backend implementation of IC virtual assistent to help students and professors to get some information about Computation Institute of UFBA (ICUFBA)

First steps after clone repository

  • 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.

Requiriments softwares

  1. Install xampp
  2. Install composer

Start project

  • To install base packages you need run the command:

composer install

Test if all right

  • 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!

Config database in Heroku

  • 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:

(https://www.youtube.com/watch?v=639Pe0PpVLQ)

  • 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

Heroku's server link

Requiriments of system

Arcteture model

Documentation of API

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

About

Backend of virtual assistent bot called ICTalk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •