Giter VIP home page Giter VIP logo

web-standards's Introduction

Hey there ๐Ÿ‘‹

I am Botond, a full-stack developer + indy maker + solution architect based in Romania. I am building products that make my & other people's life easier with Typescript, React, Next.js, Node.js, and AWS. All day every day. Other than that, I am talking about serverless and encouraging my fellow colleagues to try it out.

If you have a cool product idea and you think you might need my help feel free to message me:

web-standards's People

Contributors

botond-veress avatar sz4b0lcs avatar

Watchers

 avatar

Forkers

sz4b0lcs hertely

web-standards's Issues

Error handling

{
  "code": "POST_ARCHIVED",
  "message": "The post you are trying to add the comment to was archived."
}

Why do you use a string constant instead of a number for error codes?

Pagination (clarify usecases)

Wouldn't make sense to implement a pagination mechanism where you are referencing the start of the page with the id of the last record from the previous page?

I'm not sure if the page index and count approach will work properly in case for example the number of elements changes (new is added, some older from whatever random page is deleted) and on the client-side you have already loaded a couple of pages.

What do you think?

Limited Versioning

I would like to see more details on the versioning, like:

โ€ข Numbering while in development.
โ€ข Differences in numbering on different environments (development, staging, production).
โ€ข Flows and examples on how to increment the version numbers in different states.

And so on.

Having these details set in stone will help a lot in the long run, especially around deployment and releases.

Clarify status codes

Explain what is the difference between status code 404 and 501. For example if I call the following endpoint: GET /psts/31 (note the typo!), which error will I get? 404 (psts endpoint not found) or 501 (psts action not implemented)?

Timestamp

On iOS the timestamp is stored in seconds. Will the server handle the conversion to/from milliseconds, or it should be handled by the client?

Typo

Should be

multiple resources have been created

instead of

multiple resources had been created

Explicitly state boolean serialization

Add a note saying booleans should always be serialised to true/false values.
This would be helpful for newcomers since I've seen the practice of serialising them to "true"/"false" strings at some companies.

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.