- Getting Started
- Built With
- Contributing Guidelines
- Code of Conducts
- Project Roadmaps
- Stargazers and Contributors
- License
- Download this code
There are some several quick start options available:- Fork this repository
- Clone this repository, type
https://github.com/stanleyowen/chatapp.git
in command line - Download the latest release
- Install All the Dependencies
- Open your terminal
- Change directory
cd
to bothclient
andserver
folder - Type
npm install
in commmand line
- Create
.env
file-
Inside
client
directory, create a new file named.env
which stores about important information, which isREACT_APP_ENDPOINT
REACT_APP_ENDPOINT
stores the server side URL (ENDPOINT)
REACT_APP_ENDPOINT = http://localhost:5000/
-
Inside
server
directory, create a new file named.env
which stores about sensitive information, which isCORS_ORIGIN
CORS_ORIGIN
stores which domain is allowed to fetch data
CORS_ORIGIN = http://localhost:3000
-
- Run and Compile it
- In the
client
directory, typenpm start
in command line - In the
server
diireactory, typenodemon
in command line
- In the
- React JS
- Express JS
- Node JS
- Socket IO
Before that, we would like to say thank you for your willing to contribute to Chat Application! Please take a minute to read contributing guide
Have an idea, found a bug or an issues? Please visit here