Skip to content

ServiceStackApps/StackApis

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

StackApis

StackApis Home

StackApis is a simple new ServiceStack + AngularJS example project created with ServiceStackVS AngularJS Template showcasing how quick and easy it is to create responsive feature-rich Single Page Apps with AngularJS and AutoQuery. StackApis is powered by a Sqlite database containing snapshot of ServiceStack questions from StackOverflow APIs that's persisted in an sqlite database using OrmLite.

StackApis AutoQuery Service

The Home Page is built with less than <50 Lines of JavaScript which thanks to AutoQuery routes all requests to the single AutoQuery Service below:

[Route("/questions")]
public class StackOverflowQuery : QueryBase<Question>
{
    public int? ScoreGreaterThan { get; set; }
}

Not even ScoreGreaterThan is a required property, it's just an example of a formalized convention enabling queries from Typed Service Clients.

Feel free to play around with a deployed version of StackApis at stackapis.servicestack.net.

You can also use the public http://stackapis.servicestack.net/ url to test out ServiceStack's new Add ServiceStack Reference feature :)

About

Browse ServiceStack Questions with a responsive AngularJS UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published