Skip to content

A RESTful blogging API written using the spring framework

Notifications You must be signed in to change notification settings

skylerto/blogapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blog API

This is an example of creating a web API with the Spring Framework.

Installation

Clone it, package it, run it, test it.

$ git clone https://github.com/skylerto/blogapi.git
$ cd blogapi
$ mvn package && java -jar target/BlogApi-0.0.1.jar
$ curl http://localhost:8080/test

If you get a response, it's all good.

Usage

To add a new post, with post body (title, content):

POST /blog/posts

To get all of the posts:

GET /blog/posts

To get a specific post:

GET /blog/posts/:id

License

Skyler Layne © 2016

About

A RESTful blogging API written using the spring framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published