Skip to content

YxxgSxxl/SAE501-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

Behh-chat

To make everything work fine, check the .env-template file and add your configuration, then rename to ".env".

After that, go to server/assets/behhchat-module and change the server that it is aiming to your API server IP.

And after that go to client/components/Chat.jsx to change the url of the Express server.

What I needed to do to make this work

  • Create a ExpressJS server to make API calls
  • Create a SocketIO server to make the chat
  • Create a MySQL database to store and communicate
  • Create a PrestaShop module to make the API calls
  • Securize the chat app and the database
  • Make a shell script to automate the installation

Dev

For server:

run npm run dev

For client:

run npm run dev