Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ryichk/react_on_rails_graphql_boilerplate
- Owner: ryichk
- License: mit
- Created: 2024-06-01T16:48:58.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T03:12:31.000Z (7 months ago)
- Last Synced: 2024-12-09T14:02:32.033Z (27 days ago)
- Topics: docker, eslint, github-actions, graphql, mysql, prettier, rails, react, rspec, rubocop, typescript
- Language: Ruby
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```