Skip to content

lovrobiljeskovic/walkie-talkie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Walkie-Talkie App

A real-time communication app that allows users to interact using voice or text over the web using WebSockets. This repository contains both the server and client code.


Project Structure

walkie-talkie-app/
├── client/           # Contains the client-side code (Next.js + React)
├── server/           # Contains the server-side code (Express + Socket.io)
├── README.md         # Project documentation

Technologies Used

Server

  • Node.js
  • Express.js
  • Socket.IO
  • TypeScript

Client

  • Next.js
  • React.js
  • Styled-components

Getting Started

To run the application locally, follow the steps below.

Prerequisites

Make sure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/walkie-talkie-app.git
    cd walkie-talkie-app
  2. Install dependencies for the server: Navigate to the server directory and install dependencies:

    cd server
    npm install
  3. Install dependencies for the client: Navigate to the client directory and install dependencies:

    cd ../client
    npm install

Running the App

Running the Server

  1. Development Mode (with TypeScript hot-reloading):

    cd server
    npm run dev
  2. Production Mode (after building): First, build the TypeScript files:

    npm run build

    Then start the server:

    npm start

The server will start on http://localhost:5000 (you can configure this in your server's index.ts file).

Running the Client

  1. Development Mode:

    cd client
    npm run dev

    The client will be available at http://localhost:3000.

  2. Production Mode: First, build the Next.js app:

    npm run build

    Then start the server:

    npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published