Skip to content
This repository has been archived by the owner on Jun 26, 2019. It is now read-only.

angrykoala/maelstrom-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maelström - Messages

by @demiurgosoft

Maelström Logo

Messaging service for Maelström game

Geting Started

  1. To install the service and necessary dependencies: npm install --production
    1. If you want also the dev-dependencies: npm install
    2. To test the service using mocha: npm test
  2. To start the service: npm start

API REST

Messages microservice is a RESTful API with http request and json responses:

Method URL Usage Response
POST /login Creates a new user Returns ok or an error
GET /inbox Gets all the message that an user has received Returns the list with the messages or an error
GET /inbox/:msgid Gets the message msgid Returns the message or an error
POST / Creates a new message with {from, to, subject, body} Returns ok or an error
DELETE /inbox/:msgid Deletes a message Returns ok or an error

Licensed under GNU AFFERO GENERAL PUBLIC LICENSE Version 3 Maelström logo by @iblancasa under CC-by-sa

About

Messaging system for maelstrom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published