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

News collection #146

Open
sacdallago opened this issue Apr 27, 2016 · 2 comments
Open

News collection #146

sacdallago opened this issue Apr 27, 2016 · 2 comments

Comments

@sacdallago
Copy link
Contributor

Dear all,

time has come to put some maintenance in the API side of life. This is voluntary and will not be graded, but it would we very nice from your side to do. After this you can officially write on your CV contributor to opensource project of great success and post the link to this repo as well as articles from the guardian and such :)

As I was mentioning the other day on the google group, it would be awesome to have a new collection and respective API call to write some news/notes on a specific character. The idea behind is this to have something like a paragraph per document with some news (similar to a comment, but being curated by people that have the token, valid information).

The schema could look something like:

{
  character: String, //charname as in char collection
  text: String,
  createdAt: Date,
  ...
}

A user should be able to

  • POST new documents of this type specifying only:
    • character name (slug, or anything BUT the _id)
    • text to be put in the note
  • GET the news for a given character sorted by createdAt and be able to limit the result to the last x entries ( something like &limit=5, I guess @Adiolis has experience with this).

Whoever takes this can express a timeframe in which they would like to work on this and think they can deliver (I think it should not take longer than 1 week).

@Adiolis @togiberlin @kordianbruck @boriside one of you interested? If not, then say no please :)

@togiberlin
Copy link
Contributor

@sacdallago I did the basic schema quickly. This week including weekend I'll be busy finalizing my master thesis outline and registration...Therefore I have quite limited time... 😕

@sacdallago
Copy link
Contributor Author

Thanks @togiberlin for this first jump into the problem :) maybe someone can take over from here :) Good luck with the thesis :O

togiberlin added a commit that referenced this issue Apr 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants