FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Sarax201

Sarax201

FindMyCar

VehiclesFinder
Public
Like
FindMyCar
Home
Code
4
backend
2
frontend
4
shared
1
README.md
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
new-file-2298.tsx
https://Sarax201--2dc95f683f9c11f0980876b3cceeab13.web.val.run
README.md

Lost Cars Finder App

A comprehensive app to help reunite stolen vehicles with their owners.

Features

For Car Owners

  • Report stolen vehicles with detailed information
  • View reports of found cars that might match
  • Contact system when someone finds their car

For Good Samaritans

  • Report found/suspicious vehicles with photos
  • Add location, license plate, and vehicle details
  • Help reunite cars with owners

Core Functionality

  • Photo upload for found vehicles
  • Location tracking with maps
  • Search and filter system
  • Secure contact system
  • Mobile-responsive design

Project Structure

// val: sarax201.findMyCarWebsite
export const findMyCarWebsite = `
<!DOCTYPE html>
<html>
<head>
  <title>FindMyCar</title>
  <style>
    body { font-family: Arial; padding: 20px; background: #f8f8f8; }
    h1 { color: #333; }
    input, textarea { display: block; margin-bottom: 10px; width: 100%; padding: 8px; }
    button { padding: 10px 20px; }
  </style>
</head>
<body>
  <h1>FindMyCar - Lost Car Reporting</h1>

  <h2>Report Stolen Vehicle</h2>
  <form id="stolenForm">
    <input type="text" placeholder="Owner Name" name="ownerName" required />
    <input type="text" placeholder="License Plate" name="licensePlate" required />
    <input type="text" placeholder="Car Model" name="carModel" required />
    <input type="text" placeholder="Last Seen Location" name="location" required />
    <input type="text" placeholder="Contact Info" name="contact" required />
    <button type="submit">Submit Stolen Car Report</button>
  </form>

  <script>
    const stolenForm = document.getElementById('stolenForm');

    stolenForm.addEventListener('submit', async (e) => {
      e.preventDefault();
      const data = Object.fromEntries(new FormData(stolenForm).entries());
      
      const response = await fetch("https://sarax201.val.run/reportStolenCar", {
        method: "POST",
        headers: { "Content-Type": "application/json" },
        body: JSON.stringify(data),
      });

      const result = await response.json();
      alert(result.message || "Report submitted!");
    });
  </script>
</body>
</html>
`; TypeScript types

Getting Started

  1. The app runs on /backend/index.ts as an HTTP val
  2. Visit the main page to start reporting or searching for cars
  3. Use the map view to see locations of reported vehicles

Database

Uses SQLite with tables for:

  • stolen_cars - Reports from car owners
  • found_cars - Reports from people who found vehicles
  • matches - Potential matches between stolen and found cars
HTTP
  • new-file-2298.tsx
    Sarax201--2d…13.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.