Skip to content

mikeebowen/short-stories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

short-stories

Build Status

short-stories is a blogging site designed for people to write and share short stories. The API for short-stories is built using Node.js and Express.js.

This project is a work in progress, the README.md will be updated as more is added.

npm install

To create a new story send send a post request to /api/stories/ and send JSON data with the following format:

'{"author": "test author 3", "categories": ["fiction", "sciencefiction", "adventure"], "storyTitle": "Test Title 3", "storyText": "test story text, blah blah blah something something"}'

To show all stories send a get request to /api/stories/showall

To show a single category, send a get request to /api/stories/ + category. So to see all fiction stories, send your get request to /api/stories/fiction

######To Do -add karma tests to travis-ci

-add auth

-add input form

-add log-in form

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published