Skip to content

MrGuzior/newchat-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Chat (SaltChat)

Live version Might take a minute for the server to wake up

Server github repository

A chat app for browser desktop use (Not optimized for mobile screens). Client is written in TypeScript Node enviroment using React and Socket.IO.

Install and Run

Clone and install its dependencies:

git@github.com:MrGuzior/newchat-client.git
cd newchat-client
npm i

To run the server in development mode, use:

npm start

To run the server in production mode, use:

npm run build

Test

One e2e test is provided that tests the entire application. Make sure no user is logged in to the app if you run the test on the same PORT as your development server.

npm run test

Project Structure

All the code is located in the src directory. The folder structure inside src directory is as followes:

  • Components: Contains all react components
  • context: Contains the chat context use in components
  • service: Contains the file SocketService.ts where all socket actions are defined
  • store: Contains one store that combines all the redux reducers
  • tests: Contains e2e and unit tests
  • types: contains type interfaces

Screenshots

SaltChat landing page SaltChat chat page

About

SaltChat application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors