All Projects → json-api-dotnet → Jsonapidotnetcore

json-api-dotnet / Jsonapidotnetcore

Licence: mit
JSON:API Framework for ASP.NET Core

Projects that are alternatives of or similar to Jsonapidotnetcore

Dntframeworkcore
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
Stars: ✭ 208 (-55.27%)
Mutual labels:  crud, aspnet-core, dotnet-core
Webapimongodb
Using MongoDB with ASP.NET Web API and ASP.NET Core to perform CRUD operations and build a NotebookApp
Stars: ✭ 164 (-64.73%)
Mutual labels:  webapi, aspnet-core, dotnet-core
Jsonapiframework
JsonApiFramework is a fast, extensible, and portable .NET framework for the reading and writing of JSON API documents. Currently working on ApiFramework 1.0 which is a new framework that supports the many enhancements documented in the 2.0 milestone of this project while being media type agnostic but will support media types like {json:api} and GraphQL for serialization/deserialization purposes.
Stars: ✭ 85 (-81.72%)
Mutual labels:  rest, json-api, dotnet-core
Flutter Redux Starter
Starter project and code generator for Flutter/Redux
Stars: ✭ 262 (-43.66%)
Mutual labels:  rest, crud
Openapi Specification
The OpenAPI Specification Repository
Stars: ✭ 22,603 (+4760.86%)
Mutual labels:  rest, webapi
Identityserver4aspnetcoreidentitytemplate
An ASP.NET Core 3.1 IdentityServer4 Identity Bootstrap 4 template with localization
Stars: ✭ 262 (-43.66%)
Mutual labels:  aspnet-core, mvc
AspNetCoreMvcSharedLocalization
ASP.NET Core MVC shared localization
Stars: ✭ 31 (-93.33%)
Mutual labels:  mvc, aspnet-core
Angularaspnetcore2webapiauth
Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.
Stars: ✭ 435 (-6.45%)
Mutual labels:  webapi, aspnet-core
Dotnet Fake Json Server
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
Stars: ✭ 265 (-43.01%)
Mutual labels:  webapi, dotnet-core
Flask Appbuilder
Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
Stars: ✭ 3,603 (+674.84%)
Mutual labels:  rest, crud
Aspnetcore Webapi Course
Professional REST API design with ASP.NET Core 3.1 WebAPI
Stars: ✭ 323 (-30.54%)
Mutual labels:  webapi, aspnet-core
.NET-Backend-Developer-Roadmap
Nick's Roadmap for a .NET Backend Developer working with Microservices
Stars: ✭ 827 (+77.85%)
Mutual labels:  dotnet-core, aspnet-core
CleanArchitecture
ASP.NET Core 6 Web API Clean Architecture Solution Template
Stars: ✭ 312 (-32.9%)
Mutual labels:  dotnet-core, webapi
Reservoir
A back end for your front end: a content repository. Powered by Drupal 8, JSON API and OAuth2.
Stars: ✭ 262 (-43.66%)
Mutual labels:  rest, json-api
ASP.NET-Core-2-MVC-CRUD-datatables-jQuery-Plugin
Asp.Net Example implementation of datatables.net using Asp.Net Core 2 Mvc CRUD datatables jQuery Plugin
Stars: ✭ 25 (-94.62%)
Mutual labels:  crud, mvc
Hexagonal Architecture Acerola
An Hexagonal Architecture service template with DDD, CQRS, TDD and SOLID using .NET Core 2.0. All small features are testable and could be mocked. Adapters could be mocked or exchanged.
Stars: ✭ 293 (-36.99%)
Mutual labels:  webapi, dotnet-core
Sc Crud Sample
Sample real-time CRUD inventory tracking app built with SocketCluster
Stars: ✭ 323 (-30.54%)
Mutual labels:  rest, crud
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-25.16%)
Mutual labels:  rest, mvc
Vue Crud X
Vue+Express Cookbook & CRUD Component (with Vite and Web Components)
Stars: ✭ 393 (-15.48%)
Mutual labels:  rest, crud
AspNetCoreFilters
ASP.NET Core MVC Filters
Stars: ✭ 34 (-92.69%)
Mutual labels:  mvc, aspnet-core

JsonApiDotNetCore

A framework for building JSON:API compliant REST APIs using .NET Core and Entity Framework Core.

Build status Travis NuGet Join the chat at https://gitter.im/json-api-dotnet-core/Lobby FIRST-TIMERS

The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. You just need to focus on defining the resources and implementing your custom business logic. This library has been designed around dependency injection, making extensibility incredibly easy.

Getting Started

These are some steps you can take to help you understand what this project is and how you can use it:

Related Projects

Examples

See the examples directory for up-to-date sample applications. There is also a Todo List App that includes a JADNC API and an EmberJs client.

Installation and Usage

See our documentation for detailed usage.

Models

public class Article : Identifiable
{
    [Attr]
    public string Name { get; set; }
}

Controllers

public class ArticlesController : JsonApiController<Article>
{
    public ArticlesController(IJsonApiOptions options, IResourceService<Article> resourceService,
        ILoggerFactory loggerFactory)
        : base(options, resourceService, loggerFactory)
    {
    }
}

Middleware

public class Startup
{
    public IServiceProvider ConfigureServices(IServiceCollection services)
    {
        services.AddJsonApi<AppDbContext>();
    }

    public void Configure(IApplicationBuilder app)
    {
        app.UseRouting();
        app.UseJsonApi();
        app.UseEndpoints(endpoints => endpoints.MapControllers());
    }
}

Development

Restore all NuGet packages with:

dotnet restore

Testing

Running tests locally requires access to a PostgreSQL database. If you have docker installed, this can be propped up via:

docker run --rm --name jsonapi-dotnet-core-testing  -e POSTGRES_DB=JsonApiDotNetCoreExample -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:12.0

And then to run the tests:

dotnet test

Contributing

Have a question, found a bug or want to submit code changes? See our contributing guidelines.

Compatibility

A lot of changes were introduced in v4, the following chart should help you with compatibility issues between .NET Core versions.

.NET Core Version EF Core Version JADNC Version
2.x 2.x v3.x
3.x 3.x, 5.x v4.x
5.x 5.x v4.x

Trying out the latest build

After each commit, 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:

  • In Visual Studio: Tools, NuGet Package Manager, Package Manager Settings, Package Sources
  • Open the NuGet package manager console (Tools, NuGet Package Manager, Package Manager Console)
    • Select AppVeyor JADNC as package source
    • Run command: Install-Package JonApiDotNetCore -pre
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].