diff --git a/api/postcommand b/api/postcommand deleted file mode 100644 index 4451823..0000000 --- a/api/postcommand +++ /dev/null @@ -1 +0,0 @@ -curl -d {"title":"", "text": ""} -H Content-Type: application/json -X POST http://localhost:1337/api/articles diff --git a/docs/org/_hncli.org b/docs/org/README.org similarity index 59% rename from docs/org/_hncli.org rename to docs/org/README.org index 1add370..ddb64f2 100644 --- a/docs/org/_hncli.org +++ b/docs/org/README.org @@ -1,37 +1,33 @@ * Hacker News Clone - CLI Version -** README -The MVP of this project is a clone of https://news.ycombinator.com but in CLI. A user should be able to log in from the command line and be presented with a list of stories, along with a 'menu bar' that has the options in HN: news, comments, ask, show, jobs, submit (we will likely not use all of these options, but let's keep it as a clone for now). -** TODOs -** notes -*** features -**** voting -***** registration + +The MVP of this project is a clone of https://news.ycombinator.com but in CLI. + +A user should be able to: +- read a list of articles in the database from the command line +- create a new story by posting a link and a title +- vote up or down on a story + +** voting +*** registration required to comment (?) -***** search +*** search by popularity, date. I find it effective. -***** threaded collapsible comments +*** threaded collapsible comments - All threads threaded and collapsible. maxed by default. each can be minimized individually, collapsing all contained comments. - main threads sorted by quality, replies chronological (?), - poor quality comments remain visible but dimmed according to how downvoted -***** user karma +*** user karma - users have karma - user post/comment history can be seen by clicking on their profile. -***** voting +*** voting regiistration required min karma required for downvoting (comments only?) -***** sort algorithms (see note below) +*** sort algorithms (see note below) - posts sorted by ratio of upvotes / newness / user karma / voodoo -***** user control of search / sort options +*** user control of search / sort options - users can view HN sorted view, chrono posts, chrono comments, (?) -***** 'dead' (shadowbanned) profiles +*** 'dead' (shadowbanned) profiles These are profiles where the user doesn't know they are 'shadowbanned', so they continue to post but can't tell that no one else can see it. - [[https://news.ycombinator.com/newsguidelines.html][explicit rules]] and culture to encourage / discourage certain content -*** User Stories -**** MVP -- landing page has a list of articles -- submit a story by pasting a link -**** logging in - -