Skip to content

guspurwania/libra

Repository files navigation

Lecture Interactive Bot Reminder Assistant

About

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.

Features

  • 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

Getting Started

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.

Prerequisites

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

Installing

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.

Running the tests

Here is a way to test projects on a Public URL using Ngrok and integrate it with a telegram bot

Running the project on a Public URL

Keep running your project on local development in http://localhost:8000
After that run the command in other cmd

ngrok http 8000

Integration with Telegram Bot

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

Built With

Contributing

We open this project for contributing, and the process for submitting pull requests to us.

Authors

  • Ida Bagus Gede Purwania - Initial work - Gus Purwania
  • Muhhamad Qusyairi

License

This project is licensed under the Open Source Project

About

Lecture Interactive Bot Reminder Assistant merupakan sistem yang dibangun sebagai virtual asisten untuk jadwal perkuliahan

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published