Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

vinnoti/project-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-twitter

List End Point:

  • GET (url)/api/twitter/detail?id=2
  • GET (url)/api/twitter/list
  • POST (url)/api/twitter/create
  • PATCH (url)/api/twitter/update?id=2
  • DELETE (url)/api/twitter/delete?id=2

response example:

Success

{
    "errorMessage": null,
    "result": [
        {
            "id": 2,
            "username": "christian",
            "post": "ini adalah post"
        },
        {
            "id": 15,
            "username": "christianmahardhika",
            "post": "ini post 2"
        }
    ],
    "success": true
}

Failed

{
    "errorMessage": "Record not found!",
    "result": null,
    "success": false
}

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •