Node + Postgres + React + Socket demo app
- Create a database with name
chat_app
. cd backend
- create
.env
file and add below content in it. and replace username and password.
DB_HOST='localhost'
DB_NAME='chat_app'
DB_USERNAME=<username>
DB_PASSWORD=<password>
npm install
npx sequelize-cli db:migrate
npm start
cd frontend
npm install
npm start