Giter Site home page Giter Site logo

final-project-kelompok-1's Introduction

# FINAL PROJECT | RAKAMIN ACADEMY | FSWD-5B

Kelompok 1

  • Raie Aswajjillah
  • Affan Maulana Zulkarnain
  • Muhammad Ikhsan Supriadi
  • Iffat Nabil Wiridana
  • Holid Muhamad Salman
  • Hadiyantrama Oscar Santoso
npm install

Setelah melakukan npm install , lakukan setup file config.json untuk mengatur username & password dari databasemu.

Di Mohon jangan PUSH Langsung ke Branch "master"

Cara Branching (BackEnd)

  • Jika kamu bermaksud untuk meng-improve atau memperbaharui

    git checkout -b "improvement/apa-yang-di-improve

  • Jika kamu bermaksud untuk Bug Fixing

    git checkout -b "bugfix/apa-yang-di-fix

  • Jika kamu bermaksud untuk menambah Feature

    git checkout -b "feature/fitur-apa-yang-di-buat

Cara Branching (FrontEnd)

  • Jika kamu bermaksud untuk meng-improve atau memperbaharui

    git checkout -b "FE/improvement/apa-yang-di-improve

  • Jika kamu bermaksud untuk Bug Fixing

    git checkout -b "FE/bugfix/apa-yang-di-fix

  • Jika kamu bermaksud untuk menambah Feature

    git checkout -b "FE/feature/fitur-apa-yang-di-buat

Cara Commit

  • Jika kamu bermaksud untuk meng-improve atau memperbaharui

    git commit -m "improvement: apa yang di improve

  • Jika kamu bermaksud untuk Bug Fixing

    git commit -m "bugfix: apa yang di fix

  • Jika kamu bermaksud untuk menambah Feature

    git commit -m "feature: fitur apa yang di buat

Setup .env & config.json

Duplicate file .env.example jadi .env dan config.example.json di folder config jadi config.json, lalu atur isi dari kedua file tersebut sesuai dengan environment variable local mu.

Jika ingin melakukan npm run start ubah NODE_ENV pada file .env menjadi NODE_ENV=development. Jika NODE_ENV=test maka proses listening dari server tidak akan berjalan.

Step Setup Database Utama*

npx sequelize-cli db:create
npx sequelize-cli db:migrate
npx sequelize-cli db:seed:all

Lakukan npx sequelize-cli db:migrate:undo jika ingin menghapus table.

Endpoint Response

response harus wajib berisi :

  • status: Success / Failed
  • halaman: Nama-halaman
  • message: Pesan Keterangan

jika ada data lain misal data yang ingin ditampilan sertakan diakhir. misalnya seperti data atau error pada 2 gambar dibawah.

accessibility text

Developer Custom Script

npm run fresh

untuk menjalankan db:migrate:undo:all , db:migrate dan db:seed:all secara bersamaan pada sequelize, atau yang disebut refresh database. Atur NODE_ENV di .env menjadi development atau test.

Unit Testing

untuk melakukan unit testing lakukan semua perintah dibawah :

  • ubah NODE_ENV=development menjadi NODE_ENV=test di .env ,
  • jalankan npm run fresh di terminal
  • jalankan npm run test di terminal

final-project-kelompok-1's People

Contributors

holidmuhamadsalman avatar raia133 avatar iffatnbiel avatar hdyntrama avatar affanmz avatar ikhsansupriadi 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.