You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, json-server is being used to make local development based on API communication. The goal is to understand how to "deploy" or access this data from anywhere to prevent issues on the deployed site in the future
Tasks
Deploy JSON file to a prod environment
Test "Destinations" page behavior
Address error scenario where the data is not accessible
Notes
Currently, an error is showing on Chromatic and mobile when deploying the site and using the --host option. This should be fixed to prevent ugly errors in both cases.
By creating a backend project, it is a good idea to handle routing from the server to avoid using the hash.
As the data will not change periodically, it will be helpful to implement a basic cache strategy or conditional fetching.
The text was updated successfully, but these errors were encountered:
According to this thread, the only solution for running a JSON server is by downgrading the package to a specific version such as the @0.17.1. Reference: typicode/json-server#1500
Description
Currently,
json-server
is being used to make local development based on API communication. The goal is to understand how to "deploy" or access this data from anywhere to prevent issues on the deployed site in the futureTasks
Notes
--host
option. This should be fixed to prevent ugly errors in both cases.The text was updated successfully, but these errors were encountered: