- Rest server implemented in GoLang.
- Out-of-the-box feature.
- Use it as your toy project's backend, so you can focus on the frontend.
- Quite easy to deploy, only one binary file.
- Demo.
- Implement basic REST api (GET, POST, PUT & DELETE).
- Support token authentication.
- API call limit.
- Support http proxy.
Usage of rest-server:
-port int
specify the listening port. (default 3000)
-token string
specify the private token. (default "token")
Example: ./server.exe -port 80 -token private
You can use pm2 to start the binary: pm2 start ./rest-server -- -port 3002 -token private