An open API service indexing awesome lists of open source software.

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

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/)