Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize README #1584

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Reorganize README #1584

wants to merge 2 commits into from

Conversation

verdie-g
Copy link
Sponsor Contributor

@verdie-g verdie-g commented Jun 30, 2024

Closes #1567

QUALITY CHECKLIST

@verdie-g verdie-g changed the title Reorganize README (fix #1567) Reorganize README Jun 30, 2024
}
```

See [our documentation](https://www.jsonapi.net/) for detailed usage and the [examples](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples) directory for up-to-date sample applications.
Copy link
Sponsor Contributor Author

@verdie-g verdie-g Jun 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the comment about the EmberJS example because I don't think that example is more relevant than others.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's especially relevant because EmberJS is where JSON:API was born. We attract EmberJS developers looking for "the .NET way" to use JSON:API. This example shows that JADNC is compatible with EmberJS, by providing a fully-working end-to-end example, which includes authentication between EmberJS and .NET. If we had a fully working end-to-end Blazor sample, I'd mention it separately as well.


See [our documentation](https://www.jsonapi.net/) for detailed usage and the [examples](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples) directory for up-to-date sample applications.

## Resources
Copy link
Sponsor Contributor Author

@verdie-g verdie-g Jun 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it can simply be renamed to "Resources".

That's an overloaded term we should avoid here.

Links? Learning Resources? Learn More?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like "Learn More"

README.md Outdated Show resolved Hide resolved

# JsonApiDotNetCore
A framework for building [JSON:API](http://jsonapi.org/) compliant REST APIs using .NET Core and Entity Framework Core. Includes support for [Atomic Operations](https://jsonapi.org/ext/atomic/).
A framework for building [JSON:API](http://jsonapi.org/) compliant REST APIs using .NET Core and Entity Framework Core. Includes support for the [Atomic Operations](https://jsonapi.org/ext/atomic/) extension.
Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added "the ... extension" here to help the reader understand what we are talking about.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one. Can you replicate this change to the following files?

  • /PackageReadme.md
  • /docs/home/index.html
  • .../JsonApiDotNetCore.csproj

Copy link

codecov bot commented Jun 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.85%. Comparing base (ae5d0d1) to head (f059fcd).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1584      +/-   ##
==========================================
+ Coverage   90.80%   90.85%   +0.04%     
==========================================
  Files         348      348              
  Lines       11184    11189       +5     
  Branches     1836     1838       +2     
==========================================
+ Hits        10156    10166      +10     
+ Misses        676      672       -4     
+ Partials      352      351       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bkoelman
Copy link
Member

bkoelman commented Jul 4, 2024

Thanks, I'll take a look next week.

Comment on lines +1 to +3
<p align="center">
<a href="https://www.jsonapi.net"><img src="docs/home/assets/img/logo.svg" style="height: 345px; width: 345px"/></a>
</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change. I recently removed the centering due to issues on mobile devices.

README.md Outdated Show resolved Hide resolved
@@ -55,7 +26,7 @@ public class Article : Identifiable<int>
}
```

### Middleware
then add the middlewares
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plural form of middleware is middleware, see https://english.stackexchange.com/questions/257120/middleware-vs-middlewares.

See [our documentation](https://www.jsonapi.net/) for detailed usage.

### Models
First declare you models
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what to exactly provide here. It lacks basic steps such as: create project, install packages, define DbContext, seed the db, start the server, etc. So this isn't a Getting Started with literal steps to follow, but merely a feature showcase.

The current sample is inconsistent, in that it uses int for ID, but the JSON:API snippet contains GUIDs. We may want to adapt to the sample here: provide the steps to produce that output. Or perhaps a simplified form to save screen space. What do you think?

}
```

See [our documentation](https://www.jsonapi.net/) for detailed usage and the [examples](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples) directory for up-to-date sample applications.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's especially relevant because EmberJS is where JSON:API was born. We attract EmberJS developers looking for "the .NET way" to use JSON:API. This example shows that JADNC is compatible with EmberJS, by providing a fully-working end-to-end example, which includes authentication between EmberJS and .NET. If we had a fully working end-to-end Blazor sample, I'd mention it separately as well.


See [our documentation](https://www.jsonapi.net/) for detailed usage and the [examples](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples) directory for up-to-date sample applications.

## Resources
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like "Learn More"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current structure:

## Contributing
## Trying out the latest build
## Development

I'd like to change that to:

## Daily builds (was: Trying out the latest build)
## Contributing
### Build from source (was: Development)

This better matches the level of involvement going down.

Co-authored-by: Bart Koelman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Mention what JSON:API solves in the README
2 participants