Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrsauravsahu/mrss.api
https://github.com/mrsauravsahu/mrss.api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrsauravsahu/mrss.api
- Owner: mrsauravsahu
- Created: 2021-06-10T03:37:39.000Z (over 3 years ago)
- Default Branch: hot
- Last Pushed: 2021-06-13T13:39:05.000Z (over 3 years ago)
- Last Synced: 2024-10-14T08:34:14.451Z (3 months ago)
- Language: C#
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# mrss
dotnet solution with which I'll be learning dotnet in #100daysofdotnet. If you're learning dotnet as well or just wanna chat, you can find me on twitter - [@mrsauravsahu](https://twitter.com/mrsauravsahu)
## tech
```bash
$ dotnet --version
5.0.301
``````bash
$ docker --version
Docker version 20.10.6, build 370c289
```## local setup
### up the services
use docker compose to get started quickly when running the project locally.Run `$ docker compose up -d` at the root of the project.
### check service status
You should see the services coming up with
```bash
$ docker compose ps
NAME SERVICE STATUS PORTS
portfolio_api_1 api running 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp
```### head over to the playground
Open up http://localhost:5000/ui/playground to use the GraphQL Playground.
Now, fire away your queries!
Here's the most simple query you can hit
```graphql
{
about {
name
version
}
}
```which should give you something like:
```json
{
"data": {
"about": {
"name": "mrss.api",
"version": "v0.0.1"
}
},
"extensions": {}
}```
### la fin
That's it! - [Saurav](https://twitter.com/mrsauravsahu)