Welcome to Dunkzone! This application is built using Ruby on Rails. Created by NBA fans for NBA fans, you can view statistics of your favorite teams and players. Read articles and releases dropped by journalists and team managers. Start a discussion in the comment section and share your thoughts about matches and news. In the Store section, you are redirected to the official NBA store. You can also make changes to your profile in the Profile section.
Follow these instructions to get a copy of the project up and running on your local machine.
Make sure you have the following installed:
- Ruby -> 2.7.8
- Rails -> 6.1.7.8
- SQLite -> 3.37.2
Proxy server must be in running. For more details, refer to the proxy README.
- Clone the repository:
git clone https://github.com/dunkz0ne/website.git
cd website
- Install the required gems:
bundle install
- Create and setup the database:
rake db:drop db:create db:migrate db:seed
- Start the Rails server:
rails server
- Open your browser and navigate to http://localhost:3000/ to see the application running.
- Start the unit test, realized by RSpec:
rspec
- Start the behavior test, realized by Cucumber and Capybara and written with Gherkin structure in ./features:
cucumber
This project is licensed under the MIT License.