Skip to content

Xployt-ai/xployt-main-server

Repository files navigation

Xploit.ai - Main Server

A FastAPI-based vulnerability scanning platform for MERN stack applications.

Setup Instructions

  1. Clone and Setup Environment

    git clone <repository-url>
    cd xployt-main-backend
    cp .env.sample .env
  2. Configure Environment Variables Edit .env file with your values:

    MONGODB_URL=mongodb://localhost:27017
    MONGODB_NAME=xploitai
    SECRET_KEY=your-super-secret-key-here
    GITHUB_CLIENT_ID=your-github-client-id
    GITHUB_CLIENT_SECRET=your-github-client-secret
    
  3. GitHub OAuth Setup

Running the Application

Local Development

# Install dependencies
pip install -r requirements.txt

python run.py

API Documentation

Once running, visit:

Docker

docker build -t xployt-main-server:latest /Users/lakshith/Developer/xployt-ai/xployt-main-server
docker run --name xployt-api \
  --env-file /Users/lakshith/Developer/xployt-ai/xployt-main-server/.env \
  -p 8000:8000 \
  -v /Users/lakshith/Developer/xployt-ai/xployt-main-server/local_storage:/app/local_storage \
  xployt-main-server:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors