Skip to content

alamorre/pretty-chat-react-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretty Chat React/Typescript

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.

Setup

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.

.env.local

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.

npm install

Build out your node modules by running npm install. Then you cn start the app.

npm run start

This will start the app. By default it will run on localhost:3000

npm run build

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.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published