Skip to content

mohammedwazier/Dicoding-OpenMusic-API-Submission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buku Submission Dicoding

Initiate Server Running

    1. cp .env-example .env
    2. Fill the Variable on .env
    3. yarn install
    4. yarn build
    5. yarn start

Objective Submission

  1. [POST] /songs => 'Simpan' [DONE]
  2. [GET] /songs => 'Get All' [DONE]
  3. [GET] /songs/{bookId} => 'Get One By ID' [DONE]
  4. [PUT] /songs/{bookId} => 'Update 1 By ID' [DONE]
  5. [DELETE] /songs/{bookId} => 'Delete 1 Books' [DONE]
  6. [GET] /songs/deleteAll => 'Delete all Records' [DONE] [CUSTOM]

StatusCode

400 => Gagal
500 => Gagal Sistem
201 => Sukses
200 => Sukses
404 => Tidak Ditemukan

Backend Specification

Tech Stack:
    -----------
    nodejs
    typescript
    hapijs
    noneid
    nodemon
    pm2
    sqlite3
    -----------
Nama Script Kegunaan
yarn dev Menjalankan Server menggunakan Typescript, digunakan untuk proses pada saat Development
yarn build Generate Aplikasi dari Typescript ke Javascript
yarn start Menjalankan Server menggunakan file Javascript Production

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published