This is the games-list-api final project where users are able to retrieve basic information about certain games like name, description, image and price. This API will be used by me to create a standalone React & Redux app to withdraw the information to.
-
To get the games list, use this as the API link: https://games-list-api.herokuapp.com/games
-
For favourites: https://games-list-api.herokuapp.com/favourites
To get a local copy up and running follow these simple example steps:
- Clone this repository into your local machine.
- Run:
$ bundle install
- Run
$ rails db:create
$ rails db:migrate
$ rails db:seed
- Run the rails server:
$ rails server
-
Enter in your web browser address bar:
localhost:3000/games or localhost:3000/favourites
-
Play with the app!
Automated Test
- Run the command and see the output
$ rspec
This project was built using these technologies and main gems:
- Ruby on Rails
- Rspec
- Rubocop
- VsCode
- PostgreSQL
- Goldiloader
- Rails controller testing
- Factory bot rails
- Faker
- To add a front page and log in capabilities to generate unique API keys
👤 Elias Castañeda
Contributions, issues and feature requests are welcome! Feel free to check the issues page
Give a ⭐ if you like this project!
This project is MIT licensed.