Simple REST Server for building Twitter Client Apps
Make sure you have Node Js and npm installed. Doc
do this command on project root directory
npm install
To run a test just type a simple command on project directory
npm test
To deploy a system just follow this step :
- Go to app/ directory
cd app/
- Type a command to start a server
node server.js
- If there is no error, apps ready to use and running on port 14045
- Install a HTTP CLIENT software such as postman to test and make a request to server
To use and make a request, just following this step
Timeline : http://{{url}}:14045/timeline
- Method : Get
- Response : Json
Post Tweet : http://{{url}}:14045/update
- Method : POST
- Body Type : Application/JSON
- Body Content : { "status" : "Tweet something" }
- Response : Json
- Atmaji Haryo Wiryawan - Initial work - AtmaBoy
My personal website www.atmaji.id