SkillAgentSearch skills...

SugarTown

A NancyFx blog engine/API

Install / Use

/learn @jchannon/SugarTown
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

<sub>* Sugar Town & Something Stupid</sub>

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated1y ago
Forks3

Languages

JavaScript

Security Score

75/100

Audited on Nov 28, 2024

No findings