Skip to content

Commit 1f72957

Browse files
committed
update readme
1 parent b1fd1b9 commit 1f72957

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
StackApis
2-
===========
2+
=========
3+
4+
[![StackApis Home](https://raw.githubusercontent.com/ServiceStack/Assets/master/img/apps/StackApis/stackapis-home.png)](http://stackapis.servicestack.net/)
5+
6+
[StackApis](http://stackapis.servicestack.net/) is a simple new ServiceStack + AngularJS example project created with [ServiceStackVS AngularJS Template](https://github.com/ServiceStack/ServiceStackVS#servicestackvs) showcasing how quick and easy it is to create responsive feature-rich Single Page Apps with AngularJS and [AutoQuery](https://github.com/ServiceStack/ServiceStack/wiki/Auto-Query). StackApis is powered by a Sqlite database containing [snapshot of ServiceStack questions from StackOverflow APIs](https://github.com/ServiceStackApps/StackApis/blob/master/src/StackApis.Tests/UnitTests.cs#L67) that's [persisted in an sqlite database using OrmLite](https://github.com/ServiceStackApps/StackApis/blob/master/src/StackApis.Tests/UnitTests.cs#L119-L124).
7+
8+
The [Home Page](https://github.com/ServiceStackApps/StackApis/blob/master/src/StackApis/default.cshtml) is built with less than **<50 Lines** of JavaScript which thanks to [AutoQuery](https://github.com/ServiceStack/ServiceStack/wiki/Auto-Query) all requests are served by a single AutoQuery Service:
9+
10+
```csharp
11+
[Route("/questions")]
12+
public class StackOverflowQuery : QueryBase<Question>
13+
{
14+
public int? ScoreGreaterThan { get; set; }
15+
}
16+
```
17+
18+
> Not even `ScoreGreaterThan` is required, it's just an example of a [formalized convention](https://github.com/ServiceStack/ServiceStack/wiki/Auto-Query#advantages-of-well-defined-service-contracts) which can be queried by Typed Service Clients.
19+
20+
Feel free to play with our deployed version of StackApis at [stackapis.servicestack.net](http://stackapis.servicestack.net/).

0 commit comments

Comments
 (0)