Skip to content

Commit 9e3a0be

Browse files
author
Jamil Maqdis Anton
committed
Add docsify docs and see how they look.
1 parent db9c7fa commit 9e3a0be

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

docs/.nojekyll

Whitespace-only changes.

docs/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[![NuGet Badge](https://buildstats.info/nuget/SqlStreamStore.FSharp?includePreReleases=true)](https://www.nuget.org/packages/SqlStreamStore.FSharp/0.0.1-alpha.12)
2+
# SqlStreamStore.FSharp
3+
4+
A thin F# wrapper around [SQLStreamStore](https://www.nuget.org/packages/SqlStreamStore), and [SqlStreamStore.Postgres](https://www.nuget.org/packages/SqlStreamStore.Postgres).
5+
6+
This library isn't intended to be an implementation of an event store on top of SqlStreamStore. It only wraps some simple functions in SqlStreamStore in F#, mostly to turn `Tasks` to `Asyncs` and offers some nice-to-haves eg. a Postgres config record type instead of a string.
7+
8+
Wrapping only the basic functionality, and sticking to the naming conventions in the original library gives the flexibility to model events, aggregates, error types, etc.. however the user sees fit.
9+
10+
11+
## Supported functionality
12+
- Connecting to Postgres
13+
- Reading a `StreamMessage`
14+
- Appending a `StreamMessage`
15+
16+
## Not Supported functionality
17+
- Subscriptions aren't going to be supported. Wrapping them is more awkward than using C# in F#.
18+
19+
## TODO
20+
21+
- ~~Postgres connector~~
22+
- ~~Read a stream message~~
23+
- ~~Write a stream message~~
24+
- ~~Subscribe to a stream~~
25+
- ~~Work on Read, and Append modules that wrap read and appends in AsyncResult type for error handeling~~
26+
- Add additional tests when Append and Read fail, and throw exceptions.
27+
- Add functionality to Read to be able to get messages directly.

docs/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Document</title>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7+
<meta name="description" content="Description">
8+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
10+
</head>
11+
<body>
12+
<div id="app"></div>
13+
<script>
14+
window.$docsify = {
15+
name: '',
16+
repo: ''
17+
}
18+
</script>
19+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)