Skip to content

NetCoreApps/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
This branch is 24 commits ahead, 3 commits behind ServiceStackApps:master.

Latest commit

 

Git stats

Files

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

StackApis Build Status

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 https://stackapis.netcore.io/ url to test out ServiceStack's new Add ServiceStack Reference feature :)

About

Browse ServiceStack Questions with a responsive AngularJS UI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 53.7%
  • HTML 45.3%
  • Dockerfile 1.0%