Giter Club home page Giter Club logo

tramyardg / autoexpress Goto Github PK

View Code? Open in Web Editor NEW
24.0 6.0 15.0 2.05 MB

Autoexpress.co.nf is a car dealership app built for both car dealers and car buyers. A car dealer manages the car being viewed on the website by adding, updating, deleting, and uploading photos of a car. On the other hand, a car buyer can search for the vehicle he or she desired on the website. If the buyer finds the desired vehicle he or she can contact the seller to get more information about the vehicle. A car buyer can also calculate their monthly or bi-weekly payment.

License: Apache License 2.0

CSS 6.24% JavaScript 22.92% PHP 60.18% Hack 9.37% TSQL 1.28%
car car-buyer car-dealer amortization car-dealership bi-weekly-payment dealership vehicle payment-calculator seller

autoexpress's Introduction

AutoExpress.co.nf

AutoExpress a car dealership app built for both car dealer and car buyer. A car dealer manages the car being viewed on the website by adding, updating, deleting and uploading photos of a car. On the other hand, a car buyer can search for the vehicle he or she desired on the website. If the buyer finds the desired vehicle he or she can contact the seller to get more information of the vehicle. A car buyer can also calculate their monthly or bi-weekly payment.

Setup

  1. Clone this repo.
  2. Create the database.
  3. Configure \autoexpress\admin\server\class\Dbh.php file so it matches your web server database username and password.
  4. Create the tables by importing the sql file \db\schema.sql.
  5. Create an admin account directly by way of INSERT statement.
  6. Now you can add car to the inventory in admin/inventory.php

Features

  • Advanced search
  • Montly or bi-weekly payment calculator
  • Administrator module

Other features to be implemented

  • Share a car via email
  • Schedule a test drive
  • Make an offer to the dealer

Screenshots - Customer

Home page Payment calculator

Screenshots - Admin

Admin dashboard Admin manage inventory

autoexpress's People

Contributors

tramyardg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

autoexpress's Issues

Add facebook share button to share a car -> used for referral feature

Refer a car by sharing a link to Facebook friends.
How?

  • generate a share button for each car in the list
  • using facebook's plugin
  • use this code below and manually configure the href part so that it points to a specific car
<div class="fb-share-button" data-href="http://autoexpress.co.nf/" 
data-layout="button_count" data-size="small" data-mobile-iframe="true">
<a target="_blank" 
href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fautoexpress.co.nf%2F&amp;src=sdkpreparse" 
class="fb-xfbml-parse-ignore">Share</a>
</div>

Reference main issue #15

Price search does not work

Min price and max price search does not work since the database stores price as VARCHAR and comma is added, hence the price search feature breaks since it is trying to compare number with text. I already have 125 cars in database and changing price of every car is not an option. Is there a bulk fix? Help is appreciated

Inserts data into the database

Use mockaroo to generate inserts statements of cars to be displayed in the site. Follow the create query of car/vehicle table for the attribute type.

  vehicleId      INT                                
  make           VARCHAR           
  yearMade       YEAR                            
  model          VARCHAR                       
  price          VARCHAR                         
  mileage        VARCHAR                      
  transmission   VARCHAR                  
  drivetrain     VARCHAR                     
  doors          INT                              

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.