Awesome Open Source
Awesome Open Source

GitAds

GitAds

ghChat

Node.js MySQL License Author

English |

ghChat(react)

ghChatGitHubchat tool for githubgithubgithubghChatgithubreadme

()github

github


githubpublicemail

ACF5CEB66E47AEE81B5ABD21592A3827

PWA

ReactPWAnode.js(koa2)TS( T^T) , MySQL, SocKetIO, JWTpackage.jsonNginx, SSL, Pm2ghChat

pic


pic1

pic2

pic3

pic4


/ / /

  • github

github/ github

  • UI

, / UI

/ //

/ / / / / /

&&

/ / / / Enter/ @/ / copy()/ / |||

/ / / ||()

gzip / build/ / / / WebSocket

/ SSL/ PWA/ TS

  • TODO

Markdown/ / sdk/ / CI CD


 LICENSE
 README-zh_CN.md
 README.md
 package-lock.json
 package.json
 postcss.config.js
 server // 
    ecosystem.config.js
    init // mysql
    nodemon.json
    package-lock.json
    package.json
    secrets.ts // secret
    src
      app
      context
|      controllers
|      index.ts
|      middlewares
|      routes // 
|      server.ts
|      services
|      socket // socket 
|      utils
|      configs
|        configs.common.ts // 
|        configs.dev.ts // 
|        configs.prod.ts // 
     main.ts
    tsconfig.json
    tslint.json
    webpack.config.js
 src // 
    App.js
    app.scss
    assets
    components
    containers
    index.html
    index.js
    manifest.json // PWA
    modules
    redux
    router
    service-worker.js // PWA
    utils
 webpack.common.config.js  // webpack
 webpack.prod.config.js //webpack
 webpack.dev.config.js //webpack


git clone https://github.com/aermin/ghChat.git
  1. npm
cd ghChat
npm i
  1. npm
cd ghChat/server
npm i
//ghchatmysql
(ghChat/server/src/configs/configs.dev.ts) dbConnection

npm run init_sql    //init

ps: github(cdn)(ghChat/server/src/configs/configs.dev.ts)

npm run start
cd ..      // ghChat/
npm run start


ghChat/server/ secrets.ts

export default {
  port: '3000', // server 
  dbConnection: {
    host: '', // IP
    port: 3306, // 
    database: 'ghchat', // 
    user: '', // 
    password: '', // 
  },
  client_secret: '', // githubclient_secret
  jwt_secret: '', // jwtsecret
  qiniu: { // cdn
    accessKey: '',
    secretKey: '',
    bucket: ''
  },
  robot_key: '', // key =>  http://www.tuling123.com/
};

1.build

cd src
npm run build:prod

2.build

cd sever
npm run build:prod
  1. 12(build, dist), dist/index.js (ghChat/server/package.json npm run start:prod)

ghChat

License

MIT

Contributors

pr

star('')


donate


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Typescript (246,428
Reactjs (70,630
Nodejs (53,628
Scss (16,345
Redux (13,004
Mysql (12,072
Webpack (9,647
Jwt (3,471
Axios (3,351
Socket Io (3,319
Pwa (3,290
React Router (3,216
Chat (3,215
Koa2 (929
Im (275
Related Projects