Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laforetmoreno/multichat
Exemple project using NodeJS, ReactJS, SocketIO, Docket e MongoDB.
https://github.com/laforetmoreno/multichat
docker docker-compose mongodb mongoose nodes reactjs redux socketio storybook
Last synced: 10 days ago
JSON representation
Exemple project using NodeJS, ReactJS, SocketIO, Docket e MongoDB.
- Host: GitHub
- URL: https://github.com/laforetmoreno/multichat
- Owner: laforetmoreno
- Created: 2020-02-06T14:38:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:21:59.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T20:38:06.795Z (over 1 year ago)
- Topics: docker, docker-compose, mongodb, mongoose, nodes, reactjs, redux, socketio, storybook
- Language: JavaScript
- Homepage:
- Size: 5.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatIO
## Description
Exemple project using NodeJS, ReactJS, SocketIO, Docket e MongoDB.
## Dependencies
- Node.js 10+
- MongoDB - (I'm using Mongo Atlas to facilitate)## Envs
### Server
- PORT=PORT
- MONGOURI=mongodb+srv://moreno:[email protected]/test?retryWrites=true&w=majority### Client
- REACT_APP_API_URL=http://localhost:8080
## Running the project
### Server
1. `cd server`
2. `cp .env.default .env` (And alter vars as needed)
3. `npm i && npm start`### Client
2. `cd client && npm i && npm start`
## Running the project with Docker compose
1. `docker-compose up`
## Running storybook
1. `npm run storybook`
## Consultation routes
Rooms
1. `/rooms` List of all rooms created
2. `/rooms/:name` List of room by nameUsers
1. `/users` List of all user created
2. `/users/:id` List of room by idMessages
1. `/messages` List of all messages sent