You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-20Lines changed: 42 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
Plug-n-play implementation of `IResourceRepository<TResource, TId>` allowing you to use [MongoDB](https://www.mongodb.com/) with your [JsonApiDotNetCore](https://github.com/json-api-dotnet/JsonApiDotNetCore) APIs.
- JSON:API relationships are currently not supported. You can use complex object graphs though, which are stored in a single document.
93
+
94
+
## Contributing
95
+
96
+
Have a question, found a bug or want to submit code changes? See our [contributing guidelines](https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/.github/CONTRIBUTING.md).
97
+
98
+
## Trying out the latest build
99
+
100
+
After each commit to the master branch, a new prerelease NuGet package is automatically published to AppVeyor at https://ci.appveyor.com/nuget/jsonapidotnetcore. To try it out, follow the next steps:
* Open the NuGet package manager console (**Tools**, **NuGet Package Manager**, **Package Manager Console**)
107
+
* Select **AppVeyor JADNC MongoDb** as package source
108
+
* Run command: `Install-Package JonApiDotNetCore -pre`
109
+
88
110
## Development
89
111
90
-
Restore all NuGet packages with:
112
+
To build the code from this repository locally, run:
91
113
92
114
```bash
93
-
dotnet restore
115
+
dotnet build
94
116
```
95
117
96
-
### Testing
97
-
98
-
You don't need to have a running instance of MongoDB on your machine. To run the tests just type the following command in your terminal:
118
+
You don't need to have a running instance of MongoDB on your machine to run tests. Just type the following command in your terminal:
99
119
100
120
```bash
101
121
dotnet test
@@ -104,15 +124,17 @@ dotnet test
104
124
If you want to run the examples and explore them on your own **you are** going to need that running instance of MongoDB. If you have docker installed you can launch it like this:
105
125
106
126
```bash
107
-
docker run -p 27017:27017 -d mongo:latest
127
+
run-docker-mongodb.ps1
108
128
```
109
129
110
130
And then to run the API:
111
131
112
132
```bash
113
-
dotnet run
133
+
dotnet run --project src/Examples/GettingStarted
114
134
```
115
135
116
-
## Limitations
136
+
Alternatively, to build and validate the code, run all tests, generate code coverage and produce the NuGet package:
0 commit comments