jargonsdev / jargons.dev

A community-driven dictionary that simplifies software, engineering and tech terms for all levels.
https://jargons.dev
GNU General Public License v2.0
24 stars 8 forks source link

refactor(word-editor): word submit handling #53

Closed babblebey closed 6 months ago

babblebey commented 6 months ago

This Pull Request refactors the word editor submit handling logic introduced in #32 and #39 - specifically the handleSubmitWord handler; This logic requires some side operations that trades off security for the purpose of just running at all. This changes transfers the operation performed by the handler to a new api route where they can be perform securely.

Changes Made

Screencast

https://github.com/babblebey/jargons.dev/assets/25631971/e69c14ba-a480-4001-89af-6798821be323

📖

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jargons-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2024 4:56pm