https://github.com/crashtech/eventstest
A Rails & React application
https://github.com/crashtech/eventstest
Last synced: about 1 year ago
JSON representation
A Rails & React application
- Host: GitHub
- URL: https://github.com/crashtech/eventstest
- Owner: crashtech
- Created: 2020-04-10T20:49:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T18:21:13.000Z (over 3 years ago)
- Last Synced: 2025-02-16T13:27:09.085Z (over 1 year ago)
- Language: Ruby
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Events Test Applications
This is a Rails and React application with simple API operations and pages that
allows users to create and find events.
# Setup
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.
# Fake data
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.
# Testing
You can run all tests using: `yarn test`.
## Rails
Rails tests are run using RSpec, which you can run `rspec` from console to
perform all available tests.
## React
React tests are run using Jest, which you can run `yarn jest` from console to
perform all available tests.
## Lint
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.
# Live
The live version is hosted on heroku. You can access using the following link:
[https://carlos-evtests.herokuapp.com/](https://carlos-evtests.herokuapp.com/)