This is a simple example of how to use Sanity as a key-value store for redirections.
- Redirecting old URLs to new ones
- Feature flags with dynamic values
- Just a simple key-value store
- etc.
- Deployed on Vercel
- Sanity Studio
- /need-to-be-redirected
- /redirected
- /api/sanity/basic
- /api/sanity/edge
- /api/sanity/dynamic
Reason for basic/edge/dynamic is to compare the time and caching. It won't make sense to check on localhost env.
Browser cache - do hard refresh
This is a T3 Stack project bootstrapped with create-t3-app
.
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.
To learn more about the T3 Stack, take a look at the following resources:
- Documentation
- Learn the T3 Stack — Check out these awesome tutorials
You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!
Follow our deployment guides for Vercel, Netlify and Docker for more information.