MyTeams is a project that aims to create a simple and efficient communication tool for teams.
It is a project developed in the context of the Epitech curriculum.
The project is developed in C.
-
first compile the project with the following command:
make
-
then run the server with the following command: (replace [port] with the port you want to use)
LD_LIBRARY_PATH=libs/myteams/ ./myteams_server [port]
-
then run the client with the following command: (replace [ip] with the ip of the server and [port] with the port of the server)
LD_LIBRARY_PATH=libs/myteams/ ./myteams_cli [ip] [port]
-
then you can use the client to connect to the server and use the different commands.
Here is a basic overview of the commands available in the client.
For more information, you can use the help command in the client.
Or read the RFC present in the doc folder.
/help: show help/login[“user_name”] : set the user_name used by client/logout: disconnect the client from the server/users: get the list of all users that exist on the domain/user[“user_uuid”] : get details about the requested user/send[“user_uuid”] [“message_body”] : send a message to specific user/messages[“user_uuid”] : list all messages exchanged with the specified user/subscribe[“team_uuid”] : subscribe to the events of a team and its sub directories (enable reception of all events from a team)/subscribed?[“team_uuid”] : list all subscribed teams or list all users subscribed to a team/unsubscribe[“team_uuid”] : unsubscribe from a team/use?[“team_uuid”] ?[“channel_uuid”] ?[“thread_uuid”] : Sets the command context to a team/channel/thread/create: based on the context, create the sub resource (see below)/list: based on the context, list all the sub resources (see below)/info: based on the context, display details of the current resource (see below)
For more information, you can read the RFC in different formats in the doc folder.