ChatRoom-server
所属分类:聊天室
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2024-01-29 13:44:27
上 传 者:
sh-1993
说明: 聊天室服务器
(ChatRoom server)
文件列表:
.mvn/wrapper/
src/main/
ASSUMPTIONS.md
mvnw
mvnw.cmd
pom.xml
# Spring Boot - Websockets - React chat application
In order to start the application you need to first build and start the backend, then it is required to start the frontend
## Building and starting the backend
Go in the project root folder and run the following:
mvn clean spring-boot:run
This will start a backend listening on port 8080 so make sure port 8080 is available
## Starting the frontend
Next go in the project subfolder frontend and run the following:
yarn install
yarn start
or
npm install
npm start
This will start a frontend server on port 3000 so please make sure port 3000 is also available. Once the server starts it should open a browser session on http://localhost:3000. The server will also proxy requests to the backend so it should be possible to run the application without using any CORS workarounds.
近期下载者:
相关文件:
收藏者: