- You can explain what CORS is and understand its shortcomings
- You know how to use axios to send HTTP request to an API endpoint 📚
- You know how to handle errors returned in HTTP response 📚
- You can configure axios to have a predefined base url for making requests
- You know to add meta data (for example JWT token) to the request headers
- You know how to transform data with
transformResponse
andtransformRequest
- You know how to serealize parameters with
paramsSerializer
- You know how to use interceptors
- You know how to cancel a request
- You know how to create an HTTP request using native
fetch
📚 - You know how to handle errors returned in HTTP response 📚
- You know how to cancel a request
- You know how to connect to a websocket connection using either a native configuration or an existing library
- You know how to use humps to camelize or decamelize strings and object's keys
- You know how to split strings and object's keys containing numerical values
- You know how to parse URLs
- You know how to create a query string out of an object
- You know how to define an object entity schema
- You know how to normalize data returned from server
- You can explain what are the benefits of using normalizr library
- You use descriptive status codes instead of number literals
We are very open to contributions to extend or change the requirements based on your gut and experience. To contribute you can use a pull request which will be later validated by our technical team and added to the main docs.
If you will spot any issues please add them in the Issues section.
This page is maintained by the 🔹 Flairs.ai and 🇵🇱 Apptension teams.
If you would like to create a dedicated Developer Handbook for your company, you can e-mail us 👉 [email protected]
© 2020 Flairs Sp. z o.o.
Built and maintained by Flairs and Apptension.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.