Welcome to the Fun-Chat project! This application was created as part of the RS School course in 2024. The goal of the project is to teach the principles of working with WebSockets by developing a real-time chat application for user communication.
-
User Authentication: The application is accessible only to authenticated users.
-
User Status Visualization: Easily see whether users are online or offline.
-
Chat History: Users can view past messages and conversations.
-
Unread/New Messages: Clearly marked unread or new messages for better user experience.
-
Message Editing and Deletion: Users can edit or delete their own messages.
-
Message Status Tracking: Messages are labeled as sent, delivered, or read, keeping users informed about their communication.
To get a local copy - follow these simple steps.
- Clone the repo
git clone https://github.com/rolling-scopes-school/fun-chat-server.git
- Install NPM packages
npm install
- Start project
npm run start
- Clone the repo
git clone https://github.com/YulikK/fun-chat.git
- Install NPM packages
npm install
- Start project
npm run dev
npm run dev
Start local development server
npm run build
Build project in production mode for further deployment
npm run format
Reformat source code & configs to match Prettier
settings
npm run lint
Check source code with ESLint
. Exit with non-zero return code after the first found warning (useful for CI/CD)
npm run lint:fix
Automatically fix all auto-fixable errors & warnings with ESLint
npm run prepare
Runs automatically after package installation to install Husky hooks