Developed with Golang and Reactjs
You need run MySQL and Redis successfully on your maching
server:
host: 127.0.0.1
port: 3000
mysql:
username: root
password: 12345678
host: 127.0.0.1
port: 3306
dbname: go-chat
charset: utf8mb4
parseTime: True
loc: Local
redis:
host: 127.0.0.1
port: 6379
db: 0
password:
jwt:
secret: jwt-secret
expire: 24
Server will run on port: 3000
cd server
make run
Client will run on port:5173
cd client
yarn install
yarn dev