Skip to content

zanedma/simple-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple chat

A simple chat room app demonstrating a full-stack chatroom implementation.

Using the app

  1. Run the server on port 8081 (If you need to change the port, it can be changed in main.go. You will also need to change the value of BASE_URL in client/src/hooks/useChats.ts):
cd server
go run .
  1. Run the client on port 3000 from another terminal:
cd client
npm ci
npm run start
  1. A browser tab with the client should automatically open, you can also navigate to localhost:3000 in the browser.

  2. Enter any username, chats that originated from that username are shown in blue once authenticated to the chat room.

  3. The correct password to authenticate to the server is currently just "password". Once connected, you should see the chat interface.

  4. Send chats using the text box at the bottom of the page, and the Send button.

  5. Navigate to localhost:3000 in as many tabs as you want, and repeat steps 4-6.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published