Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ryichk/react_on_rails_graphql_boilerplate

Template to be used when you want to run the system on a single server, such as AWS EC2.
https://github.com/ryichk/react_on_rails_graphql_boilerplate

docker eslint github-actions graphql mysql prettier rails react rspec rubocop typescript

Last synced: 20 days ago
JSON representation

Template to be used when you want to run the system on a single server, such as AWS EC2.

Awesome Lists containing this project

README

        

# react_on_rails_graphql_boilerplate

## Versions

- Ruby
- 3.3.1
- Ruby on Rails
- 7.1.3
- MySQL
- 8.0
- Node.js
- 18+
- TypeScript
- 5
- React
- 18

## Start Server

```sh
docker-compose up
```

## Create Database

```sh
docker-compose exec app rails db:create
```

## Run RuboCop in an autocorrect mode

```sh
docker-compose exec app rubocop -a
```

## Run RSpec

```sh
docker-compose exec app rspec
```

## Run ESLint and Prettier

```sh
docker-compose exec app npm run fix
```

## Run GraphQL-Codegen

```sh
docker-compose exec app npm run graphql:codegen
```