A Go API that returns pokemon information like name, type, stats, etc.
- Clone the repo and go to the directory.
$ git clone https://github.com/AriDevK/PokeGO_API.git
or
$ git clone [email protected]:AriDevK/PokeGO_API.git
$ cd PokeGO_API/src
- Install the dependencies and use the recommended node version:
$ go get .
- Start the server and serve the application
$ go run .
- Open your browser and go to http://localhost:8080/swagger/index.html to see the documentation (this may change if you change the port in the config file)
Just for learn and practice my skills with Go and SQL Server.
On this project I used:
- Go : The programming language
- Echo : The minimalist web framework
- gorm : The ORM for Go (a funny name xDx)
- viper : The config manager
- Microsoft SQL Server : The database
- Swagger : The documentation
- YAML : The config file format
You can contribute to the development or improvement of this app and it will be much appreciated if you do 🥰
- Fork this repo
- Magic Magic Magic ✨✨✨
- Create a new pull request
These are things that I will implement later (You can also take these ideas if you want to contribute 😊)
- Add endpoints to get pokemon by name
- Add query parameter to get mega evolutions
- Add query parameter to get pokemon by stat
- Add query parameter to get pokemon by ability (this includes adding the ability table)
- Add query parameter to get pokemon by egg group (this includes adding the egg group table)
- Add query parameter to get pokemon by color (this includes adding the color table)