Building a REST API Backend with Golang by Echo Framework and caching with Redis

course

Requirements

  • Database: MySQL
  • Caching server: Redis

Configurations

  1. Server
  • Host: localhost
  • Port: 8088
  1. MySQL
  • Read the constant/constant.go comments, can be customized
  1. Redis
  • Read the constant/constant.go commentsm can be customized

How to run the code

  1. Start the MySQL service (with above specifications)
  2. Start the Redis service (with above specifications)
  3. Run the code with the below command: go run user_manager/main.go