This is an example application chat that is created with socket-io and nodejs
- Install mariadb
- Install redis
- Install nodejs
- Install yarn
- git clone https://github.com/aminxare/chat-app.git
- cd server && yarn
- cd client && yarn
- cd chat-backend && yarn
for run in dev mod you can run this command to run all servers.
cd server && yarn dev
cd client && yarn dev
for run in production mod you can run this command to run all servers. edit .env file in server folder and set your redis and mariadb connection. edit .env file in client folder.
cd client && yarn run build && yarn start
cd server && yarn start
for run in production mod you can run this command to run all servers.
cd server && docker-compose up