https://github.com/nutter20912/message-board-site
留言板介面
https://github.com/nutter20912/message-board-site
antd reactjs
Last synced: 3 months ago
JSON representation
留言板介面
- Host: GitHub
- URL: https://github.com/nutter20912/message-board-site
- Owner: nutter20912
- Created: 2022-12-05T20:36:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T03:09:25.000Z (over 1 year ago)
- Last Synced: 2025-01-17T12:35:16.810Z (5 months ago)
- Topics: antd, reactjs
- Language: JavaScript
- Homepage:
- Size: 1.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build a simple message board front-end
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Packages
- [ant-design/ant-design](https://github.com/ant-design/ant-design)
- [remix-run/react-router](https://github.com/remix-run/react-router)
- [react-component/virtual-list](https://github.com/react-component/virtual-list)
- [axios/axios](https://github.com/axios/axios)
- [iamkun/dayjs](https://github.com/iamkun/dayjs)
- [laravel/echo](https://github.com/laravel/echo)
- [package/pusher-js](https://github.com/pusher/pusher-js)---
## Setup
### Config
- generate local env file
```=bash
cp .env.example .env
```
- configuration env variable
```=env
# pusher
REACT_APP_PUSHER_BROADCASTER=
REACT_APP_PUSHER_KEY=
REACT_APP_PUSHER_CLUSTER=
```
---## Scripts
### `npm start`Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.### `npm run build`
Builds the app for production to the `build` folder.
---
## docker image
### `docker-compose up -d`
Builds static resources in nginx container.
Open [http://localhost:3000](http://localhost:3000)