hello2-react-front-end
所属分类:元宇宙
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-12-04 19:48:18
上 传 者:
sh-1993
说明: 该回购协议是微宇宙编程远程学校的一部分。
(This repo is part of the Microverse Programming Remote School.)
文件列表:
.babelrc (93, 2023-12-04)
.eslintrc.json (966, 2023-12-04)
LICENSE.md (935, 2023-12-04)
package-lock.json (785434, 2023-12-04)
package.json (1492, 2023-12-04)
public/ (0, 2023-12-04)
public/favicon.ico (3870, 2023-12-04)
public/index.html (1721, 2023-12-04)
public/logo192.png (5347, 2023-12-04)
public/logo512.png (9664, 2023-12-04)
public/manifest.json (492, 2023-12-04)
public/robots.txt (67, 2023-12-04)
src/ (0, 2023-12-04)
src/App.css (564, 2023-12-04)
src/App.js (313, 2023-12-04)
src/App.test.js (246, 2023-12-04)
src/actions/ (0, 2023-12-04)
src/actions/greetingActions.js (465, 2023-12-04)
src/components/ (0, 2023-12-04)
src/components/Greeting.js (533, 2023-12-04)
src/index.css (366, 2023-12-04)
src/index.js (571, 2023-12-04)
src/logo.svg (2632, 2023-12-04)
src/reducers/ (0, 2023-12-04)
src/reducers/greetingReducer.js (810, 2023-12-04)
src/reportWebVitals.js (375, 2023-12-04)
src/setupTests.js (241, 2023-12-04)
Hello Rails Front-end
# Table of Contents
- [ Table of Contents](https://github.com/cancelei/hello2-react-front-end/blob/master/#-table-of-contents)
- [ Hello Rails Front-end ](https://github.com/cancelei/hello2-react-front-end/blob/master/#Hello Rails Front-end)
- [ Built With ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-built-with-)
- [Tech Stack ](https://github.com/cancelei/hello2-react-front-end/blob/master/#tech-stack-)
- [Key Features ](https://github.com/cancelei/hello2-react-front-end/blob/master/#key-features-)
- [ Getting Started ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-getting-started-)
- [Prerequisites](https://github.com/cancelei/hello2-react-front-end/blob/master/#prerequisites)
- [Setup](https://github.com/cancelei/hello2-react-front-end/blob/master/#setup)
- [Install](https://github.com/cancelei/hello2-react-front-end/blob/master/#install)
- [Usage](https://github.com/cancelei/hello2-react-front-end/blob/master/#usage)
- [Run tests](https://github.com/cancelei/hello2-react-front-end/blob/master/#run-tests)
- [Deployment](https://github.com/cancelei/hello2-react-front-end/blob/master/#deployment)
- [ Authors ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-authors-)
- [ Future Features ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-future-features-)
- [ Contributing ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-contributing-)
- [ Show your support ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-show-your-support-)
- [ Acknowledgments ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-acknowledgments-)
- [ FAQ (OPTIONAL) ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-faq-optional-)
- [ License ](https://github.com/cancelei/hello2-react-front-end/blob/master/#-license-)
# React+Rails One Repo App
**Hello Rails Front-end** is an exercise with 2 repos, but features a random generated greeting message.
Here is the link to the BACKEND in
Rails
## Built With
### Tech Stack
Server
Database
Front-End
### Key Features
- **Setup a Dual Repo APP, using RubyRails Front-end and a React Front-end.**
- **Rails 7.1.1 (lastest)+ Postgres**
- **Latest React using (create-react-app command)**
(back to top)
## Getting Started
To get a local copy up and running, follow these steps.
Note: We are assuming you have pre-installed ruby, WSL, ubuntu and rails!
### Prerequisites
In order to run this project you need:
first at all, install rails:
```sh
gem install rails -v 7.1.1
```
### Setup
Clone both repositories to your desired folder:
```sh
cd your-folder
git@github.com:cancelei/hello-rails-frontend.git
```
### Install
Install this project with:
```sh
cd hello-rails-frontend
bundle install
```
Setting up the Data Base:
```sh
"Set up Username and password information in the config/database.yml"
rails db:create
rails db:migrate
rails db:seed
```
### Usage
To run the project, execute the following command:
```sh
PORT=3001 npm start quote:"(on port 3001, remember to use port 3000 for back-end)"
```
### Deployment
The deployment will be available one day !
(back to top)
## Authors
**Glauber Bannwart**
- GitHub: [@cancelei](https://github.com/cancelei/hello2-react-front-end/blob/master/https://github.com/cancelei)
- LinkedIn: [Glauber Bannwart](https://github.com/cancelei/hello2-react-front-end/blob/master/https://www.linkedin.com/in/gbannwart/)
(back to top)
## Future Features
> We this project can improve, we are planning to include the next features soon:
- [x] **User Interface, Controllers and Models**
- [N/A] **API documentation**
- [x] **View Implementation**
(back to top)
## Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/cancelei/hello2-react-front-end/blob/master/https://github.com/cancelei/hello2-react-front-end/issues).
(back to top)
## Show your support
> Would you like to help?
If you like this project feel free to leave an start, as well if you have a suggestion feel free to visit issues page.
(back to top)
## Acknowledgments
I would like to thank Microverse for creating this exercise-project.
(back to top)
## FAQ (OPTIONAL)
> Learn more about FAQ below:
- **How do I fix Linters errors if I modify the project?**
- for Eslint run
```sh
npx eslint "**/*.{js,jsx}"
```
- for Stylint run:
```sh
npx stylelint "**/*.{css,scss}" --fix
```
(back to top)
## License
This project is [MIT](https://github.com/cancelei/hello2-react-front-end/blob/master/./LICENSE.md) licensed.
(back to top)
近期下载者:
相关文件:
收藏者: