Giter Site home page Giter Site logo

dotnetcorereactrest's People

Contributors

aizensousuke avatar blazordev avatar kira009 avatar maxwellpark avatar reddtoric avatar tnortnern avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotnetcorereactrest's Issues

Pagination

Pagination API with JSON responses like:

"current_page": "1",
"data": [
dataitems
],
"first_page_url":"url.com?page=1",
"last_page_url":"url.com?page=3",
"per_page": "10",
"total": "22",
"first_page": "10",
"next_page_url": url.com?page=2,
"prev_page_url": null(in this situation),
"last_page": "2"

Implement Image Upload

Implement image upload via external API (from backend \ frontend) and store the link to the image to the database.

Should be able to drag and drop image to upload or click the button to choose a file from the computer. Also should be asynchronous and report its progress in a progress bar.

Implement Blog Post Likes

Under the following api endpoints:

  • /api/posts/{postId}/postlikes etc
  • /api/posts/{postId}/users/{userId}/postlikes
  • /api/postlikes/{postLikeId}

Created Comment should return the username too in the response when using the Dto

POST:

{
	"Content": "Hello Test Test Comment",
	"PostId": 11,
	"ApplicationUserId": "ee4091ff-b0a9-4cc3-a66f-2a470d84836d",
	"IsAnonymous": false
}

Response:

{
    "id": 7,
    "content": "Hello Test Test Comment",
    "postId": 11,
    "applicationUserId": "ee4091ff-b0a9-4cc3-a66f-2a470d84836d",
    "isAnonymous": false,
    "dateCreated": "2020-03-21T19:27:47.2992827+08:00",
    "likesCount": 0,
    "userName": null
}

Create/Modify a blog

For create, this should use the same layout as the single blog view but with empty fields that are needed to be filled.

Modify is obviously the same but with fields existing that can be updated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.