Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shershen08/svelte-pwa-chat-backend
https://github.com/shershen08/svelte-pwa-chat-backend
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shershen08/svelte-pwa-chat-backend
- Owner: shershen08
- Created: 2020-05-23T13:01:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-31T19:10:41.000Z (over 2 years ago)
- Last Synced: 2024-04-15T01:56:49.570Z (7 months ago)
- Language: Java
- Size: 26.4 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backend for svelte-pwa-chat
Java/Spring service to provide websocket base chat API. Also has endpoint to update user profile details and list all users.
Complimentary frontend code: https://github.com/shershen08/svelte-pwa-chat
## Usage
Build: `mvn build`
Start: `java -jar target/cws.jar`
App will start on port 8080 (can be adjusted in .properties file)
## API
Connect to websocket: `/api/ws`
List users: `/api/users`
Set username : POST `/api/profile`
Swagger URL: `/api/swagger-ui.html`
## Forked from
Forked from https://github.com/hsperker/conversational-websocket-server