LIBRA (Lecture Interactive Bot Reminder Assistant) - We are here as your Virtual Reminder Assistant
Our mission is to help the teaching and learning process more effectively and efficiently.
Your virtual assistant will remind you of your class schedule, so you can manage your time better.
- Manage Schedule - You can manage your schedule through a special dashboard provided by the application
- Reminder Schedule - Bots provided by the application will notify you when there is a class or teaching schedule
- Broadcast - Bots provided by the application will spread the message to all participants who join the class to attend the class
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Things needed for LIBRA system installation
- PHP >= 7.2
- MariaDB >= 10.2
- Composer - Depedency Management
- Git - Repository Management
- Ngrok - Public Server from Local Resource
- Postman - API Testing
A step by step series of examples that tell you how to get a development env running
Clone the repository to your project
git clone https://github.com/guspurwania/libra.git
Setup .env - Copy from .env.example
copy .env.example .env
Prepare your database (MariaDB) in your local and set on your .env file
...
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=libra
DB_USERNAME=root
DB_PASSWORD=
...
Prepare your telegram token using Bot Father and set on your .env file
...
TELEGRAM_TOKEN=604190517:AAFv_XQ0zYj8_yNbwg_rMnXXCt9jbf5R1PQ
...
Install Depedencies using Composer
composer install
Running Migration
php artisan migrate
Run application in local environment
php artisan serve
You can see in your browser and type the URL http://localhost:8000.
Here is a way to test projects on a Public URL using Ngrok and integrate it with a telegram bot
Keep running your project on local development in http://localhost:8000
After that run the command in other cmd
ngrok http 8000
Open Postman and make a POST Request
Use this link for end point URL
https://api.telegram.org/bot<YOUR-TELEGRAM-TOKEN-HERE>/setWebhook
With the BODY request
url => 'YOUR_URL_WEBHOOK'
For detail documentation follow this link
- Laravel 5.7 - The PHP Web Framework
- Botman.io - The PHP Chatbot Framework
We open this project for contributing, and the process for submitting pull requests to us.
- Ida Bagus Gede Purwania - Initial work - Gus Purwania
- Muhhamad Qusyairi
This project is licensed under the Open Source Project