Skip to content

Latest commit

 

History

History
612 lines (555 loc) · 18.1 KB

readme-ai.md

File metadata and controls

612 lines (555 loc) · 18.1 KB

❯ REPLACE-ME

❯ REPLACE-ME

Built with the tools and technologies:

npm PostCSS JavaScript sharp React Docker
TypeScript Zod ESLint Axios Pusher datefns


Table of Contents


Overview

❯ REPLACE-ME


Features

❯ REPLACE-ME


Project Structure

└── /
    ├── bun.lockb
    ├── components.json
    ├── Dockerfile
    ├── next.config.mjs
    ├── package-lock.json
    ├── package.json
    ├── postcss.config.mjs
    ├── public
    │   └── favicon.ico
    ├── README.md
    ├── src
    │   ├── app
    │   ├── components
    │   ├── context
    │   ├── helpers
    │   ├── lib
    │   ├── middleware.ts
    │   ├── schemas
    │   └── types
    ├── tailwind.config.ts
    └── tsconfig.json

Project Index

/
__root__
components.json ❯ REPLACE-ME
Dockerfile ❯ REPLACE-ME
next.config.mjs ❯ REPLACE-ME
package-lock.json ❯ REPLACE-ME
package.json ❯ REPLACE-ME
postcss.config.mjs ❯ REPLACE-ME
tailwind.config.ts ❯ REPLACE-ME
tsconfig.json ❯ REPLACE-ME
src
middleware.ts ❯ REPLACE-ME
app
globals.css ❯ REPLACE-ME
layout.tsx ❯ REPLACE-ME
page.tsx ❯ REPLACE-ME
(auth)
login
page.tsx ❯ REPLACE-ME
(dashboard)
dashboard
layout.tsx ❯ REPLACE-ME
page.tsx ❯ REPLACE-ME
add
loading.tsx ❯ REPLACE-ME
page.tsx ❯ REPLACE-ME
chat
[chatId]
loading.tsx ❯ REPLACE-ME
page.tsx ❯ REPLACE-ME
requests
loading.tsx ❯ REPLACE-ME
page.tsx ❯ REPLACE-ME
api
auth
[...nextauth]
options.ts ❯ REPLACE-ME
route.ts ❯ REPLACE-ME
friends
accept
route.ts ❯ REPLACE-ME
add
route.ts ❯ REPLACE-ME
deny
route.ts ❯ REPLACE-ME
message
send
route.ts ❯ REPLACE-ME
components
AddFriendButton.tsx ❯ REPLACE-ME
ChatInput.tsx ❯ REPLACE-ME
FriendRequests.tsx ❯ REPLACE-ME
FriendRequestsSidebarOptions.tsx ❯ REPLACE-ME
Icons.tsx ❯ REPLACE-ME
Messages.tsx ❯ REPLACE-ME
MobileChatLayout.tsx ❯ REPLACE-ME
SidebarChatList.tsx ❯ REPLACE-ME
SignOutButton.tsx ❯ REPLACE-ME
UnseenChatToast.tsx ❯ REPLACE-ME
ui
Button.tsx ❯ REPLACE-ME
toast.tsx ❯ REPLACE-ME
toaster.tsx ❯ REPLACE-ME
use-toast.ts ❯ REPLACE-ME
context
AuthProvider.tsx ❯ REPLACE-ME
helpers
get-friends-by-userId.ts ❯ REPLACE-ME
redis.ts ❯ REPLACE-ME
lib
db.ts ❯ REPLACE-ME
pusher.ts ❯ REPLACE-ME
utils.ts ❯ REPLACE-ME
schemas
addFriend.ts ❯ REPLACE-ME
message.ts ❯ REPLACE-ME
types
db.d.ts ❯ REPLACE-ME
next-auth.d.ts ❯ REPLACE-ME
pusher.d.ts ❯ REPLACE-ME
typing.d.ts ❯ REPLACE-ME

Getting Started

Prerequisites

Before getting started with , ensure your runtime environment meets the following requirements:

  • Programming Language: TypeScript
  • Package Manager: Npm
  • Container Runtime: Docker

Installation

Install using one of the following methods:

Build from source:

  1. Clone the repository:
❯ git clone ../
  1. Navigate to the project directory:
cd 
  1. Install the project dependencies:

Using npm  

❯ npm install

Using docker  

❯ docker build -t / .

Usage

Run using the following command: Using npm  

❯ npm start

Using docker  

❯ docker run -it {image_name}

Testing

Run the test suite using the following command: Using npm  

❯ npm test

Project Roadmap

  • Task 1: Implement feature one.
  • Task 2: Implement feature two.
  • Task 3: Implement feature three.

Contributing

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your LOCAL account.
  2. Clone Locally: Clone the forked repository to your local machine using a git client.
    git clone .
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to LOCAL: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
  8. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
Contributor Graph


License

This project is protected under the SELECT-A-LICENSE License. For more details, refer to the LICENSE file.


Acknowledgments

  • List any resources, contributors, inspiration, etc. here.