This project has the ambition to build a chat in real time using socket.io in javascript.
The appearance is related to several studies that I conducted where it resulted in a project with the following stacks:
Vue.js: Framework used in the view layer Node.js: Used to build the other two layers, Controller and Model.
The data is stored in a postgres database and the entire cache is made by redis, in redis the database user Id is linked to the socket id.
Clone this repo to your local machine using https://github.com/jeaanca/forty-team
cd forty-team
Must have installed postgres and redis on the machine
cp .env.example .env
In the .env file add the key that will be used in the JWT.
Add postgres configuration data to server /forty-team/server/knexfile.js
must be create a folder named images in server directory
npm install
npx knex migrate:latest
npm start
cp .env.example .env
In the .env file add the url to API.
npm install
npm run serve
@oLucasPopov |
@wesleysaanttoss |
---|
@JeaanCa |
---|