GitXplorerGitXplorer
j

SugarTown

public
15 stars
5 forks
0 issues

Commits

List of commits on branch master.
Unverified
c4302a2764c1bc42b793ee9c0af7c053eb02d1a3

updated screenshot

jjchannon committed 12 years ago
Unverified
9d599dc2f000deead4bc6e5906c53f19c60316d5

added euro date sorting and delete option

jjchannon committed 12 years ago
Unverified
cf6316ded3d243cca91540501401cd359e0b0c27

Tidied SugarTown views

jjchannon committed 12 years ago
Unverified
972d913d35fd4dd717beb82a231fbe237f9a8961

Added screenshot to README

jjchannon committed 12 years ago
Unverified
d3b50587ee64d50a72435cc0b36ef22895182277

Update README.md

jjchannon committed 12 years ago
Unverified
5225ee75e342b9a663f9f136275e656d2a0c8b61

Tidied SugarTownViewRenderer

jjchannon committed 12 years ago

README

The README file for this repository.

SugarTown

Introduction

Welcome to SugarTown!

This is a blog engine written in NancyFX that allows you to write blog posts and then exposes the contents via an API to allow you to incorporate a blog into an existing website.

Why SugarTown?

NancyFX gets its name from the Ruby web framework Sinatra (Nancy was the daughter of Frank) so I thought I'd use this type of name formatting to select a name for this project. I thought I would choose one of Nancy Sinatra's best known recordings* and out of the options, I chose the first (you might think I should have chosen the second) plus SugarTown sounds good for a piece of software!

Basic Usage

Visit mydomain.com/SugarTown/posts/page/1 to add, view, update and delete blog posts screenshot

In your website use the API to access the blog posts

public Post GetPost(string title, string url)
{
    var client = new RestClient(url);

    var request = new RestRequest("SugarTown/Posts/" + title, Method.GET);
           
    request.AddHeader("Accept", "application/json");

    var model = client.Execute<Post>(request).Data;

    return model;
}

Demos

Please check out the demo projects to see how to integrate SugarTown into your website screenshot

* Sugar Town & Something Stupid