Coder Social home page Coder Social logo

chat-room-web's Introduction

chat-room-web

Vue3, Node.js, Express, Socket.io, Element plus

Project setup

npm install

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Project start

启动前端

进入 chat-room-web/client 文件夹:

cd client

检查 node 环境:

node -v

如果 node 版本不是 16 或以下,则切换:

nvm use 16

执行:

npm run serve

看到:

  ...
  App running at:
  - Local:   http://localhost:8080/
  - Network: http://192.168.50.101:8080/

  Note that the development build is not optimized.
  To create a production build, run npm run build.

成功启动前端。

启动后端

进入 chat-room-web/server 文件夹:

cd server

执行:

docker compose up -d

看到:

...
mysql connection success
...
All tables sync success

成功启动后端。

测试数据

用户名:13300000000

密码:test

chat-room-web's People

Contributors

hukeyi avatar

Stargazers

woaixuexi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.