MorseTranslate
is an API with speed and efficiency in mind;
written in Go using std library and a third party Chi
router.
/api/v1/dictionary
- returns a JSON response with the dictionary/api/v1/translate/text
- takes atext
query parameter and returns a JSON response/api/v1/translate/morsecode
- takes amorsecode
query parameter and returns a JSON response
API utilizes Go's standard library and a router from Chi, which makes it very fast. Hash map data structure is used for the models, because of the time complexity O(1) of searches.
So far only a sample JWT token is being generated for debugging purposes.
Licensed under MIT License