Skip to content

Instantly share code, notes, and snippets.

View RofieSagara's full-sized avatar
👋
Hey there I'm using Github

Rofie Sagara RofieSagara

👋
Hey there I'm using Github
  • Ubersnap
  • Yogyakarta, Indonesia
  • 17:17 (UTC +07:00)
View GitHub Profile

Task

Create backend that will read queue from rabbitmq on channel req.create.todo with body json that have only 1 field its {name: string}. Your backend will save the data and publish todo object as JSON string with field. {id: string, name: string, created: long} on channel todo.created. details response for id you can put random string like uuid, and the name should be same from req.create.todo, last for the created should be UTC time from current time and convert to millis and publish that message to queue on channel todo.created.

and do that for the delete with channel req.delete.todo with body json {id: string} the id that you give on the add task and backend publish on channel todo.deleted with data same type with todo.created.

the last its create the http GET for read all todo datas.

How we test it.

We will send message on queue with on channel req.create.todo 5 times, and send message on req.delete.todo 2 times. and than our server will read `todo.creat

Ubersnap

Javascript website quick test

Please do the following test with your best performance. be sure to send an email before you start working on it.

Don't forget to send email to [email protected] and CC to [email protected] with Subject JS Quick Test before start doing test.

Create javascript website

Make a single page website that will display data from the REST API, you can use Javascript/Typescript frameworks or just use vanilla javascript.

Keybase proof

I hereby claim:

  • I am rofiesagara on github.
  • I am rofiesagara (https://keybase.io/rofiesagara) on keybase.
  • I have a public key ASAeICS8qsJTVuZAfkUpgzib2PktUFuQbruSH2FaT9mvYgo

To claim this, I am signing this object: