Giter Site home page Giter Site logo

zawaruddin / aciraba_server Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 8.0 1.36 MB

Aciraba server merupakan web service ataumodul terpisah untuk mengelola seluruh algoritma dari aplikasi aciraba website dengan basis API

License: MIT License

JavaScript 99.58% Pug 0.42%

aciraba_server's Introduction

Logo forthebadge forthebadge forthebadge

Apa Itu Aciraba Server ?

ACIRABA Server berbasis NODE JS adalah modul webservice yang digunakan untuk algoritma ACIRABA pada website. Modul ini bertanggung jawab untuk menyediakan endpoint dan layanan yang dibutuhkan oleh aplikasi web ACIRABA

Alat perang sebelum install

  1. API KEY untuk verifikasi jika meminta VERIFIKASI API KEY (GRATIS). Join Discord Pandawa Cipta Karya
  2. Database : MySQL 8 atau MariaDB 10.x.x
  3. Visual Code
  4. Database Management : Workbrench, Navicat, dll
  5. Postman untuk test API

Installation

Berikut adalah cara pemasangan / install webservice untuk aciraba pada perangkat anda
0. Pastikan unggah database terlebih dahulu yang terletak pada FOLDER DATABASE kedalam MYSQL DATABASE SERVER anda kemudian sesuaikan konfigurasi pada .env yang anda. Untuk format format .env

DB_HOST=Alamat ip / domain host database anda
DB_USER=user database
DB_PASS=password database
DB_NAME=nama database
DB_PORT=port database

PRICEPLAN=
DEFAUL_MARKUP=5

ACCESS_TOKEN_RHS=buat token yang untuk untuk JWT
OTP_TOKEN_RHS=OTP Token
FCM_SERVER_KEY=

DIGIFLAZZ_USERNAME=
DIGIFLAZZ_KEY_BACK=
DIGIFLAZZ_KEY=
DIGIFLAZZ_SECRET_KEY=

EMAIL_HOST=
EMAIL_PORT=
EMAIL_ISSECURE=true
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_DARI =
  1. Install nodejs pada perangkat anda dan pilih versi node js dengan versi 16 keatas
  2. Download project ini atau clone project ini kedalam perangkat anda
  git clone https://github.com/Meteor95/aciraba_server.git
  cd aciraba_server
  1. Pasang / install komponen yang dibutuhkan aciraba server dengan perintah, tunggu hingga selesai
    npm install
  1. Kemudian run server nodejs anda dengan cara
    npm run gas

Tunggu hingga proses seperti dibawah ini. Jika muncul dibawah ini maka server berjalan dengan normal

> [email protected] gas
> nodemon apiaciraba.js

[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node apiaciraba.js`
Aciraba Server Berjalan 19/6/2023 14.40.51
Listen Mysql : ALL

atau anda bisa ubah sendiri sesuai dengan keinginan anda. buka file package.json

"scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "gasToken": "nodemon serverToken.js",
    "gasServer": "nodemon --exec babel-node server.js",
    "gas": "nodemon apiaciraba.js"
},
  1. Test secara pribadi ya di postman atau aplikasi lain yang anda ketahui apakah webservice sudah berfungsi secara normal.

Dokumentasi [maintenance]

Gunakan ruang ini untuk menunjukkan contoh berguna tentang bagaimana sebuah proyek dapat digunakan. Tangkapan layar tambahan, contoh kode, dan demo berfungsi dengan baik di ruang ini. Anda juga dapat menautkan ke lebih banyak sumber daya. Untuk lebih banyak contoh, silakan merujuk ke Dokumentasi

License

Cek keterangan lisensi disini

Proyek ini dilisensikan berdasarkan syarat-syarat lisensi MIT.

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.