A test project consisting of an Express API that coordinates messages between different users using socket.io and SQL. A user logs in, undergoes a series of validations, and then can send messages to another user. MySQL creation and loading commands are provided to run the API locally.
- Create the database in MySQL using the file db/social_api.sql
- git clone https://github.com/moccodevs/simpleChat.git
- cd simpleChat
- npm start
By default, access the application at localhost:3000 in the browser.
-usuario1/pass1 -usuario2/pass2 -usuario3/pass3
You can quickly test it from my CleverCloud deployment too (not the main branch). Here's the link: https://simplechat.cleverapps.io/