Skip to content

capgravity/text-wave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texting Application

TextWave


A chat application built with Node.js, Express, Socket.io for the backend, and Vite for the frontend.

Development Setup

Prerequisites

Ensure that you have the following software installed on your system:

  • Node.js (v16 or higher)
  • npm (comes bundled with Node.js)

Steps to Clone and Run the Project

  1. Clone the repository:

    git clone https://github.com/capgravity/text-wave.git
    cd text-wave
  2. Install backend dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the root of the project.

    • Add the following variables:

      PORT=5000
      MONGO_DB_URI=<your MongoDB connection string>
      JWT_SECRET=<your secret key>

    Replace <your MongoDB connection string> and <your secret key> with your actual values.

  4. Install frontend dependencies:

    cd frontend
    npm install
  5. Start the development server:

    • For the backend server, stay in the text-wave directory and run:

      npm run server
    • For the frontend development server, navigate to the frontend directory and run:

      npm run dev
  6. Open your browser and navigate to http://localhost:3000 to view the frontend.
    The backend will be running on http://localhost:5000.

Documentation

For a detailed Project Structure, head to Project Structure.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors