This is a Rails and React application with simple API operations and pages that allows users to create and find events.
You can configure the application to run locally by simply running the
following, once you have the right Ruby version 2.5.3
set in the
current directory:
bin/setup
This will guide you through the process of basic configuration.
The application provides an executable to create fake events, so that you can test it without the need to manually create multiple events.
Check bin/fakeevent -h
for more information.
You can run all tests using: yarn test
.
Rails tests are run using RSpec, which you can run rspec
from console to
perform all available tests.
React tests are run using Jest, which you can run yarn jest
from console to
perform all available tests.
All the application linters are run automatically before a commit is actually
performed. You can manually run Rubocop (rubocop [FILES]
) for ruby files or
ESLint (yarn eslint [FILES]
) for react files.
The live version is hosted on heroku. You can access using the following link: https://carlos-evtests.herokuapp.com/