/chat-app

This is experiment how implements web socket use nodejs,react,mongoose, written by typescript

Primary LanguageTypeScript

Getting Started with fullstack chat app

This project was created by saddam satria

Backend folder

The backend folder for chat app server, created by typescript,nodejs,pusher,mongodb

Available Scripts

In the backend folder, you can run:

yarn start

Runs the app in the production mode.
Open http://localhost:5000 which API. Before you run, make sure that you compile src folder to build folder

yarn run test

Launches the test runner with jest for unit testing, you can edit in the testing folder

yarn run build

Builds the backend application for production to the build folder.\

yarn run dev

Development mode, makes you change everything, without refresh your server (watch mode)

Front end folder

The front end folder for chat app ui, created by react typescript

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

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.