An innovative tool designed to streamline the process of generating software documentation. The application leverages modern web technologies to provide an intuitive user experience, offering automated generation of summaries, flowcharts, class diagrams, and sequence diagrams based on user-uploaded codebases.
-
User Authentication
- Secure registration, login, and logout functionalities.
- Email-based account activation for enhanced security.
-
Documentation Generation
- Upload codebase directories and choose the required programming language and documentation type.
- Generate and download documentation in PDF format.
-
History Management
- View and manage previously generated documentation for each user.
- Backend: Django
- Frontend: React
-
User Registration
- New users register by providing a unique username, email, and password.
- Upon registration, an activation email is sent to the user's email with a link to activate the account.
-
Login
- Registered users log in using their credentials to access the dashboard.
-
Dashboard
- Home: Overview and quick actions.
- Upload: Upload project directories, select programming language and documentation type, and generate documentation.
- History: View and download previously generated documentation.
-
Documentation Generation
- Once documentation is generated, it is immediately available for download as a PDF.
- Uploaded codebases are automatically deleted after processing to ensure privacy.
- Clone the Repository
git clone https://github.com/AnaghaARao/DevCanvas.git cd DevCanvas
Follow these steps to set up and run the backend server:
- Install Dependencies
Install the required Python packages by running:cd backend pip install -r requirements.txt
- Apply Migrations
Set up the database schema by applying the migrations:
python manage.py makemigrations python manage.py migrate
- Run the Server
Start the Django development server:
Copy code python manage.py runserver
Follow these steps to set up and run the frontend server for the project:
- Navigate to the Frontend Directory
Open a terminal and move into thefrontend
folder:cd frontend
- Install Dependencies
Install the required npm packages:npm install
- Run the Frontend Server
Start the React development server with the following command:npm run dev
- The backend API will be available at http://localhost:8000.
- The frontend application will run at http://localhost:5173. Open this in your browser to use the application.