Git Product home page Git Product logo

gguilevski / mp-webhooks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 253 KB

Webhook (también conocido como devolución de llamada web) es un método simple que facilita que una aplicación o sistema proporcione información en tiempo real cada vez que ocurre un evento, es decir, es una forma de recibir datos pasivamente entre dos sistemas a través de un HTTP POST.

Procfile 0.09% TypeScript 99.91%

mp-webhooks's Introduction

KBTI Backend

REST API for KBTI (Kamus Besar Teknologi Informasi) built with Typescript + AdonisJs 5

cp .env.example .env node ace generate:key npm install node ace migration:run node ace db:seed

mkdir -p build/tmp/uploads

node ace migration:run
node ace migration:fresh
node ace db:seed
node ace create:user
npm run start

yarn dev

npm run build && cd build && npm ci --production && node server.js

CI= npm run build

Backup

mysqldump --host=127.0.0.1 --user=root --default-character-set=utf8 "cfi_admin" > "C:\laragon\www\cfi-admin\cfi_all_admin.sql" mysqldump --host=127.0.0.1 --user=root --default-character-set=utf8 "cfi_admin" > "C:\laragon\www\cfi-admin\cfi_admin_all-2022-11-05.sql"

Restore

mysql --host=127.0.0.1 --user=root -e "DROP DATABASE if exists kbti_cuoma;CREATE DATABASE kbti_cuoma DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"

node ace make:controller Provider -r

Run Locally

  1. Clone the project

      git clone https://github.com/CPSG-31/kbti-backend.git
  2. Go to the project directory

      cd kbti-backend
  3. Install dependencies

      npm install
  4. Copy .env.example to .env

  5. Create a database and set your database config in .env

  6. Run your mysql server

  7. Run migration

      node ace migration:run
  8. Run seeder

      node ace db:seed
  9. Start the server

      npm run start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

CORS_ORIGIN='*'

Live Demo

API Documentation

Credit

mp-webhooks's People

Contributors

gguilevski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.