https://github.com/foncki/reddit2
My version of Reddit, a simple WebServer and a API
https://github.com/foncki/reddit2
csharp entity-framework-core sqlite3
Last synced: 3 months ago
JSON representation
My version of Reddit, a simple WebServer and a API
- Host: GitHub
- URL: https://github.com/foncki/reddit2
- Owner: fonCki
- Created: 2022-03-17T16:30:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T14:30:13.000Z (almost 3 years ago)
- Last Synced: 2025-01-14T08:21:41.600Z (5 months ago)
- Topics: csharp, entity-framework-core, sqlite3
- Language: CSS
- Homepage:
- Size: 22.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redit2
This is a 3rd-semester assignment, heavily inspired by Reddit.
It consist of a frontend made with a Blazor-server app, a Web API, and a database, where is used Entity Framework Core and SQLite
## Tech Stack
Blazor, .NET, C#, Entity Framework, SQLite
## Screenshots


## API Reference
#### Post a comment
```http
POST /Comments/Posts/{UID}/Comments
```| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `UID` | `string` | **Required**. Id of the post |#### add(num1, num2)
### Posts
##### Get all posts
```http
GET /Post
```##### Create a post
```http
POST /Post
```##### Get a unique post
```http
GET /Post/id
```| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `Id` | `string` | **Required**. Id of the post |### Users
##### Get all users
```http
GET /Post
```##### Create a user
```http
POST /User
```##### Update a user
```http
PATCH /User
```##### Get a unique user
```http
GET /User/User?email={email}
```| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `email` | `string` | **NOTRequired**. the user's email.|## Authors
- [Alfonso Ridao](https://alfonso.ridao.ar)
- For support, email [email protected].## 🚀 About Me
I'm a time traveler