Exemple project using NodeJS, ReactJS, SocketIO, Docket e MongoDB.
- Node.js 10+
- MongoDB - (I'm using Mongo Atlas to facilitate)
- PORT=PORT
- MONGOURI=mongodb+srv://moreno:moreno@cluster0-nqtoh.mongodb.net/test?retryWrites=true&w=majority
- REACT_APP_API_URL=http://localhost:8080
cd server
cp .env.default .env
(And alter vars as needed)npm i && npm start
cd client && npm i && npm start
docker-compose up
npm run storybook
Rooms
/rooms
List of all rooms created/rooms/:name
List of room by name
Users
/users
List of all user created/users/:id
List of room by id
Messages
/messages
List of all messages sent