Skip to content

prompt_chat is a command-line chat application built using Dart.

License

Notifications You must be signed in to change notification settings

sommye-ctr/prompt_chat

 
 

Repository files navigation

PromptChat

PromptChat is a feature-rich command-line chat application allowing users to interact seamlessly via the terminal. Users can register, manage servers, create roles, and communicate through channels with fine-grained permission controls.

Project Structure

/
|--- bin/
|  |--- prompt_chat.dart (application entry point)
|--- lib/
|  |--- cli/ (actual subsystem classes handling program logic)
|  |  |--- exceptions/ (all custom exceptions)
|  |--- db/ (database helper functions)
|  |--- enum/ (types and enums)
|  |--- prompt_chat.dart (main API)
|--- test/
|---.env.example
|---.gitignore
|---README.md (this file!)
|---pubspec.yaml (dependencies go here)
|---pubspec.lock

Built With

  • Dart: The programming language used for building PromptChat.
  • MongoDB: For persisting user, server, and chat data.
  • bcrypt: For password hashing and salting.

Getting Started

Prerequisites

  • Ensure you have the Dart SDK installed: Install Dart
  • Install and run MongoDB. Here is the download link and instructions to do so on your local machine - Get MongoDB
  • Create a .env file in the top-level of the project, following the format in the .env.example

Steps to run

  1. Clone the repository
    git clone [email protected]:IMGIITRoorkee/prompt_chat.git
    cd prompt_chat
    
  2. Get dependencies
    dart pub get
    
  3. Run the app
    dart run
    

Resources

Here are some recommended resources to familiarize yourself with the tech stack, feel free to reach out to the maintainers for additional help if needed.

Dart

MongoDB

bcrypt

Usage

Refer to the USAGE.md file for documentation on how to use the app.

Contributing

Before you start contributing, please look at the rules for Mergefest provided here
Also look at how to contribute here

Contributing Guidelines

  • Code Style: Follow standard Dart practices and keep your code in line with the patterns and styles of the codebase.
  • Readable Commits: Write meaningful commit messages that describe what was done.
  • Test Your Code: Verify that your changes don’t break any existing functionality.
  • Attach Proof of work: Please attach a video of the feature you have implemented.

Looking for Guidance?

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

prompt_chat is a command-line chat application built using Dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%