Skip to content

Sanjeev-Boppidi/battleship-ai

Repository files navigation

Project README

Setup and Installation

This project consists of both a frontend and a backend. Follow the steps below to set up and run the project on your local machine.

Prerequisites

  • Node.js (v14.x or later)
  • npm (v6.x or later)
  • Python (v3.7 or later)
  • pip (v20.x or later)

Frontend Setup

  1. Install the necessary dependencies for the frontend:

    npm i

  2. Start the frontend development server:

    npm run dev

    This will start the frontend on localhost:3000.

Backend Setup

  1. Open a new terminal and navigate to the backend directory:

    cd backend

  2. Create a virtual environment for the backend:

    python3 -m venv venv

  3. Activate the virtual environment:

    source venv/bin/activate

  4. Install the required Python packages:

    pip3 install -r requirements.txt

  5. Start the backend server:

    python3 app.py

Accessing the Application

  1. Once both the frontend and backend servers are running, open your web browser and navigate to:

    http://localhost:3000

Additional Information

  • Ensure that both the frontend and backend servers are running concurrently.
  • If you encounter any issues, check the respective logs in each terminal for error messages and troubleshooting information.

Contact

For any questions or issues, please contact Sanjeev Boppidi at [email protected] .


This README provides a quick setup guide for running the project locally. Follow the steps carefully to ensure both the frontend and backend are properly set up and running.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published