In a nutshell, uses REPL to fetch characters using Marvel Comic API. APIs are also exposed which can be used by other clients.
Signup on Marvel Developers and generate the API Key
Install GoLang and Redis
Setup .env.dev file with Redis and Marvel API Key
References
To setup GoLang : https://go.dev/doc/install
To setup Redis : https://redis.io/docs/getting-started/installation/
To know more about Gin Framework : https://github.com/gin-gonic/gin
In terminal, run :
go run *.go
For help, type help in the terminal and it will display all the available commands
- NS : New Search. Searches the Marvel Directory of Characters
- N : Fetches Next Available Page
- P : Fetches Previous Available Page
- clear : clears the screen
- exit : exits the program
- help : displays help menu
MIT