Marvel Universe Backend Assignment

In a nutshell, uses REPL to fetch characters using Marvel Comic API. APIs are also exposed which can be used by other clients.

Marvel API Url

How to Setup

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

To run

In terminal, run :

go run *.go

Terminal Sample SS

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

License

MIT