This project is a pretty full-stack chat app built with React and Typesctipt.
To learn how this project works, watch the following YouTube tutorial.
Go to chatengine.io and create your own project. There you will get a Project ID and Private Key which are needed for user signup and authentication.
Create a .env.local
file at the top-level of your project, and replace the UUIDs with your own Project ID and Private Key from chatengine.io.
REACT_APP_PROJECT_ID=12341234-1234-1234-1234-123412341234
REACT_APP_PROJECT_KEY=abcdabcd-abcd-abcd-abcd-abcdabcdabcd
This will link your new React App to the right Chat Engine project.
Build out your node modules by running npm install
. Then you cn start the app.
This will start the app. By default it will run on localhost:3000
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.