This is an instant messager with live games. You are able to add, delete, and chat with connections as well as play live games.
Link to deployed site: https://small-talk-8943a9c264fc.herokuapp.com/
It is built with React for the front end and an express server in the back end. The app's server and client side need to be running synchronously. The repositories are as follows.
Small-Talk-client: https://github.com/wilni/small-talk-client
Small-Talk-server: https://github.com/wilni/small-talk-server
![Screen Shot 2023-10-08 at 11 54 54 AM](https://private-user-images.githubusercontent.com/81815266/273459771-e8f453a7-917f-4e33-aa06-0fcee248fc20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4NzY5NDcsIm5iZiI6MTcyNDg3NjY0NywicGF0aCI6Ii84MTgxNTI2Ni8yNzM0NTk3NzEtZThmNDUzYTctOTE3Zi00ZTMzLWFhMDYtMGZjZWUyNDhmYzIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIwMjQwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5YTA4NzY1NWFkM2M2NDAxYmE4OTFhMDE3ZTA2NTJkYjA5ZWRjYzhhZGI1MWNjNWRlNjVkMjdmNTI1NWJjZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iD_S-SPuZvVOLjaD9239DaB7_BUrGegR6GAEoH44iUA)
![Screen Shot 2023-10-08 at 11 56 58 AM](https://private-user-images.githubusercontent.com/81815266/273459779-25c4f242-35d9-465b-9101-10c96dbf7e6a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4NzY5NDcsIm5iZiI6MTcyNDg3NjY0NywicGF0aCI6Ii84MTgxNTI2Ni8yNzM0NTk3NzktMjVjNGYyNDItMzVkOS00NjViLTkxMDEtMTBjOTZkYmY3ZTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIwMjQwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3YzYxNzBiOTE1YzcyOGY3YmYzZmQ0NzRlZGQ1ZThjOGEyOWExMGU1OWRhODhiOGE3ODZjY2Y1MThjZmNiYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EAea5vOgq0pXzcucwhb8YPojYvK-0aKO1zv0zK6y2UA)
App Screenshots
- React
- Sass
- Js
- Axios
- Node Js
- Express
- MySQL
- Knex js
- Axios
- Auth0
- Heroku
This app is built with React for the front end and an express server in the back end. Both the server and client side of the app need to be running synchronously. The repos are as follows.
Small-Talk-client: https://github.com/wilni/small-talk-client
Small-Talk-server: https://github.com/wilni/small-talk-server
For the client side:
- clone the repository
- run npm install
- run npm start
For the server side:
- install MySQL
- clone the repository
- Configure knexfile.js file with SQL server info
- run npm install
- run node index.js
//client
"axios": "^0.27.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dotenv": "^0.1.3",
"react-router-dom": "5.3",
"react-scripts": "5.0.1",
"react-toastify": "^9.0.7",
"sass": "^1.54.0",
"socket.io-client": "^4.5.1",
"uniqid": "^5.4.0",
//server
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"knex": "^2.2.0",
"mysql": "^2.18.1",
"socket.io": "^4.5.1",
"uniqid": "^5.4.0"
From this project, I became familiar with many new technologies and aspects of web development. I implemented only functional components and websockets which were both new to me. This was also the first application where I deployed a front-end and a back-end server. I had to navigate a few things to set up my production database and environment.
- add more games (Simon, hangman)
- Implement end to end encryption
- Create a react native version to deploy the app on iOS, Android as well as the web.
MIT License
Copyright (c) 2022 Wilniyobri Tavarez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.