https://github.com/oybekkayumov/rails-react-app
Ruby on Rails and React App
https://github.com/oybekkayumov/rails-react-app
api db git rails react
Last synced: 3 months ago
JSON representation
Ruby on Rails and React App
- Host: GitHub
- URL: https://github.com/oybekkayumov/rails-react-app
- Owner: OybekKayumov
- Created: 2023-09-17T06:57:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-17T13:09:01.000Z (almost 3 years ago)
- Last Synced: 2025-07-05T01:39:59.582Z (12 months ago)
- Topics: api, db, git, rails, react
- Language: Ruby
- Homepage:
- Size: 719 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails - Rect App
## 1
1. add new rails api app
2. add posts
3. seed 20 posts
4. rails test
## 2
1. add /api/v1 and Api::V1::PostsController
2. npm create vite@latest with name client, React, JS
3. cd client
npm install
npm run dev
4. npm install dotenv
5. create .env.development file
6. add client/src/features/posts/PostsList component
7. fetch posts from API
8. add useState and useEffect
9. show posts in React
## 3
1. create post show page in React
2. npm i react-router-dom, restart frontend
3. add React routes
## 4
1. create a new post
2.