Sugar for CNodejs.org
Material UI version of cnodejs.org. Website: http://cnodejs.sugarac.com
Tech Stack
Frontend: ES6 + React 16 + React Router + Mobx + Webpack + axios
Backend: AWS + Nginx + Express + PM2
Run at Localhost
git clone https://github.com/sugarac/react-cnodejs.org
cd react-cnodejs.org
npm i
npm run build
visit localhost:3333 at your browser
Run at Cloud Server (Linux)
sudo su
cd ~
mkdir projects
git clone https://github.com/sugarac/react-cnodejs.org
cd react-cnodejs.org
npm i
pm2 start process.yml
visit your server's public IP or bound domain at your browser
Project Structure
ββ build
β ββ upload.js
β ββ webpack.base.js
β ββ webpack.config.client.js
β ββ webpack.config.server.js
ββ client
β ββ components
β β ββ simple-mde
β β ββ generator-id.js
β β ββ id-generator.js
β β ββ index.jsx
β ββ config
β β ββ router.jsx
β ββ store
β β ββ app-state.js
β β ββ index.js
β β ββ redux-and-mobx.js
β β ββ topic-store.js
β ββ util
β β ββ date-format.js
β β ββ http.js
β β ββ variable-define.js
β ββ views
β β ββ components
β β β ββ app-bar.jsx
β β β ββ container.jsx
β β β ββ routes.jsx
β β ββ topic-create
β β β ββ index.jsx
β β β ββ styles.js
β β ββ topic-detail
β β β ββ index.jsx
β β β ββ reply.jsx
β β β ββ styles.js
β β ββ topic-list
β β β ββ index.jsx
β β β ββ styles.js
β β ββ user
β β β ββ styles
β β β β ββ bg.jpg
β β β β ββ login-style.js
β β β β ββ user-info-style.js
β β β β ββ user-style.js
β β β ββ info.jsx
β β β ββ login.jsx
β β β ββ user.jsx
β β ββ App.jsx
β ββ .eslintrc
β ββ app.js
β ββ server-entry.js
β ββ server.template.ejs
β ββ template.html
ββ server
β ββ util
β β ββ dev-static.js
β β ββ inject-token.js
β β ββ server-render.js
β β ββ user-api.js
β ββ server.js
ββ .babelrc
ββ .editorconfig
ββ .eslintrc
ββ README.md
ββ app.config.js
ββ ecosystem.json
ββ favicon.ico
ββ package.json
ββ process.yml