Skip to content

The AI Form Autofill Backend is a RESTful API service that powers the extension. It handles user authentication, profile management, and form history storage. The backend uses Express.js for routing, Prisma for database management, and JWT for secure token-based authentication.

License

Notifications You must be signed in to change notification settings

darkisabsent/AI_Autofill_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Form Autofill Backend

The backend service for the AI Form Autofill system. It handles user authentication, profile management, and form-related operations.

Features

  • User Authentication: Secure login, registration, and token-based authentication.
  • Profile Management: Create, update, and retrieve user profiles.
  • Form History: Store and manage form filling history.
  • AI Integration: Supports AI-based suggestions for open-ended form fields.

System Overview

  • Express.js: RESTful API framework for handling HTTP requests.
  • Prisma: Database ORM for managing PostgreSQL.
  • JWT Authentication: Secure token-based authentication.
  • Environment Configuration: .env file for managing environment variables.

Installation

  1. Clone the repository:

    git clone this repo
    cd autofill-backend
  2. Install dependencies:

    npm install
  3. Set up the database:

    • Update the DATABASE_URL in .env with your PostgreSQL connection string.
    • Run migrations:
      npx prisma migrate dev
  4. Start the server:

    npm run dev

Supported Features

  • Secure Authentication: Password hashing and token-based authentication.
  • Profile Completion: Tracks and updates profile completion status.
  • Form History: Logs form filling activities for analytics.
  • AI Context Building: Prepares user data for AI-based suggestions.

This backend provides the core functionality for the AI Form Autofill system.

About

The AI Form Autofill Backend is a RESTful API service that powers the extension. It handles user authentication, profile management, and form history storage. The backend uses Express.js for routing, Prisma for database management, and JWT for secure token-based authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published