Skip to content

Ron1006/equivision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐎 Equivision — Wix Velo Auction Platform

Live Website: https://ronparkliu01.wixstudio.com/equivision (test link)

📁 Project Structure src/ ├── backend/ # Velo backend functions (.jsw & .js web modules) ├── pages/ # Page-level scripts for each dynamic page ├── public/ # Public client-side scripts └── styles/ # Site-wide CSS styles

This repository contains the Velo by Wix source code for the Equivision auction and marketplace platform. It includes backend server functions, API routes, page logic, database interactions, and UI scripts extracted from the live Wix site.

Equivision is a fully custom equine marketplace supporting:

Auction listings for horses, gear, vehicles, property, and services

Automated bid handling & real-time updates

Buy-Now transactions

Email notifications

Member verification & gated access

Custom backend workflows (cron jobs, automations, status updates)

⚙️ Backend Functionality Overview (backend/)

The backend folder contains all server-side business logic for the Equivision auction platform.

🟦 auction-finalize.jsw / auction-finalize-gear.jsw / auction-finalize-vehicle.jsw

Automated server functions responsible for:

Closing auctions when time expires

Selecting the highest bidder

Updating database records

Triggering notification emails

Moving auction items into "Sold" state

These are usually called by:

cron jobs

scheduled jobs

backend validations

🟨 auction.web.js / auctionGears.web.js / auctionVehicle.web.js

Public web modules used by the front-end to:

Load auction details

Fetch live bid data

Display timers, images, sellers, and bidding rules

Handle user interactions from the UI

🟦 bid.jsw / bidCar.jsw / bidGear.jsw

Secure backend functions handling user bids:

Validates logged-in member

Checks bid increments

Ensures bid is higher than current max

Updates bid history

Writes to database safely

Prevents bid overrides & race conditions

🟦 buy-now.jsw / buy-now-gear.jsw / buy-now-vehicle.jsw

Core Buy-Now logic:

Locks item instantly

Prevents further bidding

Captures buyer details

Updates auction status

Triggers purchase confirmation email

🟦 emailHandler.jsw

Handles automated email notifications:

Outbid alerts

Auction won confirmation

Buy-Now confirmation

Seller notifications

Admin alerts Uses Wix CRM + triggered e-mails.

🟦 memberVerificationStatus.jsw / verificationGate.jsw

Controls member onboarding & restricted access:

Checks document verification

Controls access to bidding features

Ensures only approved members may participate

Used as part of:

Login flow

Bidding restrictions

Seller tools

🟦 cron.jsw

Scheduled backend job for:

Checking expired auctions

Running finalize functions

Sending reminders

Cleaning temporary data

Runs automatically via Wix's Job Scheduler.

🟨 auctions.web.js / auctions.web.js

Provides reusable functions for:

Loading all auction categories

Filtering upcoming, active, ended auctions

Pagination

Search

🟦 jobs.config

Defines scheduled tasks for Wix cron jobs, including:

Auction expiration scanners

Data cleanup operations

Notification dispatch cycles

🖥️ Pages (pages/)

Scripts that run on individual pages of the live site:

Auction listing pages

Horse detail pages

Gear & vehicle pages

Seller dashboard pages

Login & gated pages

These scripts manage UI behavior, data filtering, and user interaction.

🌐 Public (public/)

Client-side modules accessible from browser:

gate.js — handles page gating / access control

Various helper utilities used across pages

🎨 Styles (styles/)

CSS-like Velo Wix styling for:

Auction cards

Buttons

Grid systems

Mobile responsive layout

🚀 Key Features Demonstrated in This Codebase ✔️ Real-time bidding & price updating ✔️ Automatic auction-finish workflows ✔️ Multi-category auction support ✔️ Buy-Now instant purchase ✔️ Database-driven listings ✔️ Custom email automation ✔️ Secure backend logic using JSW ✔️ Member verification system ✔️ Velo cron-based scheduled tasks ✔️ Full marketplace flow (list → bid → win → record) 🧑‍💻 Developer Notes

This repository contains only the Velo code layer, not the Wix Editor design or database schemas. To deploy this code on a new Wix site:

Create a Wix site

Enable Velo Developer Mode

Replace /backend, /public, /pages, and /styles

Recreate Collections (same field names as original)

Reconnect permissions & triggered emails

📬 Contact

For questions or updates, feel free to reach out. This project demonstrates:

Backend architecture

Marketplace logic

Velo automation and transactional workflows

Git Integration & Wix CLI

This repo is part of Git Integration & Wix CLI, a set of tools that allows you to write, test, and publish code for your Wix site locally on your computer.

Connect your site to GitHub, develop in your favorite IDE, test your code in real time, and publish your site from the command line.

Set up this repository in your IDE

This repo is connected to a Wix site. That site tracks this repo's default branch. Any code committed and pushed to that branch from your local IDE appears on the site.

Before getting started, make sure you have the following things installed:

To set up your local environment and start coding locally, do the following:

  1. Open your terminal and navigate to where you want to store the repo.
  2. Clone the repo by running git clone <your-repository-url>.
  3. Navigate to the repo's directory by running cd <directory-name>.
  4. Install the repo's dependencies by running npm install or yarn install.
  5. Install the Wix CLI by running npm install -g @wix/cli or yarn global add @wix/cli.
    Once you've installed the CLI globally, you can use it with any Wix site's repo.

For more information, see Setting up Git Integration & Wix CLI.

Write Velo code in your IDE

Once your repo is set up, you can write code in it as you would in any other non-Wix project. The repo's file structure matches the public, backend, and page code sections in Editor X.

Learn more about this repo's file structure.

Test your code with the Local Editor

The Local Editor allows you test changes made to your site in real time. The code in your local IDE is synced with the Local Editor, so you can test your changes before committing them to your repo. You can also change the site design in the Local Editor and sync it with your IDE.

Start the Local Editor by navigating to this repo's directory in your terminal and running wix dev.

For more information, see Working with the Local Editor.

Preview and publish with the Wix CLI

The Wix CLI is a tool that allows you to work with your site locally from your computer's terminal. You can use it to build a preview version of your site and publish it. You can also use the CLI to install approved npm packages to your site.

Learn more about working with the Wix CLI.

Invite contributors to work with you

Git Integration & Wix CLI extends Editor X's concurrent editing capabilities. Invite other developers as collaborators on your site and your GitHub repo. Multiple developers can work on a site's code at once.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors