An open API service indexing awesome lists of open source software.

https://github.com/streamlinedevelopers/simple-chat-app

A simple chat app.
https://github.com/streamlinedevelopers/simple-chat-app

emoji-picker express javascript jwt-token momentjs mongodb mongoose nodejs react-moment react-scroll-to-botom reactjs realtime-chat scss-styles socket-io user-authentication

Last synced: 3 months ago
JSON representation

A simple chat app.

Awesome Lists containing this project

README

          

# How to run?

Install first the dependencies of my client and server folder.\
Client - is the base directory.\
Server - is the server folder in directory.

### `Starting the App`

cd to server directory, run 'npm run dev' to the terminal.\
this will run both the server and the client using concurrently.

Also make sure to make a '.env' file to the server and put your JWT_TOKEN && MONGODB_CONNECTION_STRING.\
you can go here https://jwt.io to generate you own jwt. and create an account for MongoDB to get your own connection.

### `.env format`
JWT_TOKEN=youjwttoken.\
MONGODB_CONNECTION_STRING=yourownconnectionstring.

After you done these things, starting 'npm run dev' in server directory will make the app run smoothly.\
Enjoy, Happy Coding!.