Client for beginners to learn, built with React / Redux / Node
GPL-3.0 License
Use React / Node to achieve the application. Project is small but complete, suitable for novice learning.
π¦ React familyοΌreact + redux + react-router 4.0 + immutable.js π ES6 + ES7 π‘ fetchοΌaxios + socket.io π UI FrameworkοΌantd mobile βοΈ Back-endοΌexpress + mongoDB
# clone
git clone https://github.com/KieSun/Chat-Buy-React.git
cd chat-buy-react
# Mac install MongoDb
brew install mongodb
# run MongoDb
mongod --config /usr/local/etc/mongod.conf
# connect mongo
mongo
# install npm package
npm install
npm i nodemon -g
# run server (Mac)
npm run server
# run server (Windows)
npm run dev
# run localhost
npm run start
I will internationalized text.
ββ server
βΒ Β βββ chat.js
βΒ Β βββ foods.json
βΒ Β βββ goods.js
βΒ Β βββ jwtMiddleware.js
βΒ Β βββ key.js
βΒ Β βββ model.js
βΒ Β βββ order.js
βΒ Β βββ server.js
βΒ Β βββ socket.js
βΒ Β βββ user.js
βββ src
βΒ Β βββ actions
βΒ Β βΒ Β βββ chat.js
βΒ Β βΒ Β βββ goods.js
βΒ Β βΒ Β βββ order.js
βΒ Β βΒ Β βββ type.js
βΒ Β βΒ Β βββ user.js
βΒ Β βββ asyncComponent.jsx
βΒ Β βββ common
βΒ Β βΒ Β βββ axiosMiddleware.js
βΒ Β βΒ Β βββ history.js
βΒ Β βΒ Β βββ unit.js
βΒ Β βββ components
βΒ Β βΒ Β βββ allOrders
βΒ Β βΒ Β βΒ Β βββ list.jsx
βΒ Β βΒ Β βββ common
βΒ Β βΒ Β βΒ Β βββ 404.jsx
βΒ Β βΒ Β βββ goods
βΒ Β βΒ Β βΒ Β βββ buy.jsx
βΒ Β βΒ Β βΒ Β βββ goodsList.jsx
βΒ Β βΒ Β βββ login
βΒ Β βΒ Β βΒ Β βββ loginForm.jsx
βΒ Β βΒ Β βββ message
βΒ Β βΒ Β βΒ Β βββ chatList.jsx
βΒ Β βΒ Β βΒ Β βββ chatListItem.jsx
βΒ Β βΒ Β βΒ Β βββ messageList.jsx
βΒ Β βΒ Β βββ myOrder
βΒ Β βΒ Β βΒ Β βββ myOrder.jsx
βΒ Β βΒ Β βΒ Β βββ myOrderItem.jsx
βΒ Β βΒ Β βββ navBar
βΒ Β βΒ Β βΒ Β βββ backNavBar.jsx
βΒ Β βΒ Β βββ register
βΒ Β βΒ Β βββ registerForm.jsx
βΒ Β βββ container
βΒ Β βΒ Β βββ allOrders.jsx
βΒ Β βΒ Β βββ chat.jsx
βΒ Β βΒ Β βββ dashboard.jsx
βΒ Β βΒ Β βββ goods.jsx
βΒ Β βΒ Β βββ login.jsx
βΒ Β βΒ Β βββ message.jsx
βΒ Β βΒ Β βββ my.jsx
βΒ Β βΒ Β βββ register.jsx
βΒ Β βββ images
βΒ Β βΒ Β βββ goods-sel.png
βΒ Β βΒ Β βββ goods.png
βΒ Β βΒ Β βββ message-sel.png
βΒ Β βΒ Β βββ message.png
βΒ Β βΒ Β βββ order-sel.png
βΒ Β βΒ Β βββ order.png
βΒ Β βΒ Β βββ user-sel.png
βΒ Β βΒ Β βββ user.png
βΒ Β βββ index.js
βΒ Β βββ reducers
βΒ Β βΒ Β βββ chat.js
βΒ Β βΒ Β βββ goods.js
βΒ Β βΒ Β βββ index.js
βΒ Β βΒ Β βββ orders.js
βΒ Β βΒ Β βββ user.js
βΒ Β βββ registerServiceWorker.js
βΒ Β βββ router
βΒ Β βΒ Β βββ router.jsx
βΒ Β βββ store
βΒ Β βΒ Β βββ configureStore.js
βΒ Β βββ styles
βΒ Β βββ index.scss
Feedback, issues, etc. are more than welcome!