This is a toy Ruby on Rails application created as part of the Level Up Tutorials beginner Ruby on Rails course https://leveluptutorials.com/tutorials/beginner-ruby-on-rails
You can find the app at https://eventzzzz.herokuapp.com/.
Contributions are encouraged by folks taking the Level Up Tutorials course. Practice is often the best way to learn. If you are looking for contribution suggestions, please take a look at the issues tab.
Fork this repository and clone it locally. Follow this guide if you need help.
You will need to setup postgresql and redis. You can use homebrew for installing on a mac:
brew install postgresql
brew install redis
brew services start postgresql
brew services start redis
Run the following commands to setup your environment:
bin/rails db:create
for creating the database locallybin/rails db:migrate
for running all migrations
The following commands are used for development:
bin/dev
will start your Rails server and all associated processes using the Procfilebin/rails c
will start your Rails console
The test suite is written using Minitest.
# Run the entire test suite
bin/rails test
# Run all model tests
bin/rails test test/models
# Run a specific test file
bin/rails test test/models/event_test.rb
# Run the example at a specific line number in the given test file
bin/rails test test/models/event_test.rb:4
- Ruby 3.0.1.
- Rails 7.0.
I have not added any additional gems. The goal is to keep it as vanilla Rails as possible.
See the Gemfile for all dependencies and their respective versions.