https://github.com/restsharpdb/restsharpdb
A C# version of PostgREST. A version, not a reimplementation.
https://github.com/restsharpdb/restsharpdb
api api-rest automatic-api csharp database http pgsql postgres postgresql postgrest server sql
Last synced: 3 months ago
JSON representation
A C# version of PostgREST. A version, not a reimplementation.
- Host: GitHub
- URL: https://github.com/restsharpdb/restsharpdb
- Owner: restsharpdb
- License: mpl-2.0
- Created: 2025-02-08T06:14:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T01:01:59.000Z (9 months ago)
- Last Synced: 2025-03-21T02:22:33.814Z (9 months ago)
- Topics: api, api-rest, automatic-api, csharp, database, http, pgsql, postgres, postgresql, postgrest, server, sql
- Language: C#
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a attempt do create a [PostgREST](https://github.com/PostgREST/postgrest) version in c#.
This is not a version to compete with PostgREST and is not a translation from haskell to c#.
It is a total new implementation just keeping the idea of PostgREST because I don't
know anything about haskell language, but I want to make a similar version.
This is an aspnet core app that runs with a posgres database server and receive rest calls with any json and
insert, update or delete in the specified table in a more relaxed and lightweight way than the Microsoft Entity Framework.
You only need to create the table in the database, and you are ready to go.
Needless to say that this is a hobby project and is not production ready.
This is a work in progress.
This is a hobby project the roadmap has no due dates yet but this is a broad roadmap to follow:
### Roadmap:
- [ ] Create an example database
- [ ] Implement POST (insert) method
- [ ] Refine datatype validation
- [ ] Refine error handling
- [ ] Implement unit tests for all phases
- [ ] Implement PUT (update) method
- [ ] Refine error handling
- [ ] Implement DELETE (delete) method
- [ ] Implement GET (insert) method with id filter
- [ ] Implement GET (insert) method with complex filters like odata filters
- [ ] Jwt token authentication
- [ ] Roles and permissions
- [ ] Implement nested objects
- [ ] Implement other databases
- [ ] Implement external cache for relationships and table metadata
- [ ] Multitenency support