This project developed for COMP 490 class, is intended to build an Interactive Neural Network Playground – a tool that will combine a training sandbox with a visualizer to make deep learning more transparent and educational.
- Clone the repository:
git clone https://github.com/GraceG1225/NeuraSectProj.git
- Navigate to the project directory:
cd neurasect
- Set up environment variables (create a .env file in the base folder):
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your_supabase_key
NEXT_PUBLIC_API_URL=your_api_url
In Supabase, click the Project Settings button.
Click on Data API to find the Project URL.
Click on API Keys to find the publishable and secret keys.
- Build and Run with Docker Compose
docker compose up --build
- Open the application in your browser:
http://localhost:3000
- Clone the repository:
git clone https://github.com/GraceG1225/NeuraSectProj.git
- Navigate to the project directory:
cd neurasect
- Install dependencies and packages:
npm install
- Set up environment variables (create a .env file in the base folder):
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your_supabase_key
NEXT_PUBLIC_API_URL=your_api_url
In Supabase, click the Project Settings button.
Click on Data API to find the Project URL.
Click on API Keys to find the publishable and secret keys.
- Navigate to the backend directory:
cd neurasect/src/backend
- Setup the virtual environment:
python -m venv venv
source venv/bin/activate (Windows: venv\Scripts\activate)
- Install required dependencies:
pip install -r requirements.txt
- Start the backend development server:
python main.py
- Start the frontend development server:
npm run dev (in neurasect folder)
- Open the application in your browser:
http://localhost:3000