/CarBay

ReactJS Sample project

Primary LanguageJavaScriptMIT LicenseMIT

CarBay

"Carbay" is a sample online platform for selling used cars.

Created with:

  • React.js
  • React Bootstrap
  • React Icons
  • Firebase

Public Part (Any user: Authenticated or Anonymous)

  • Login page
  • Register page
  • Home page
  • Ad details page
  • Search page

User Part (Authenticated users only)

  • Create an Ad page
  • Edit the Ad page
  • Favorites page
  • My Ads page

Admin Part (Admin user only)

  • Create a brand page
  • Create a model page
  • Create an option page

An authenticated user can:

Create his:

   Ad
   Favourite

Edit his:

   Ad

Delete his:

   Ad
   Favourites

An admin user can:

Create any:

  Ad
  Brand
  Model
  Option

Edit any:

  Ad
  Brand
  Model
  Option

Delete any:

  Ad
  Brand
  Model
  Option

How to run this project

  • create .env file inside your src folder, then edit the file using your Firebase application credentials in this format:
REACT_APP_API_KEY=""
REACT_APP_AUTHDOMAIN=""
REACT_APP_BASEURL=""
REACT_APP_PROJECT_ID=""
REACT_APP_STORAGEBUCKET=""
REACT_APP_MESSAGING_SENDER_ID="
REACT_APP_APP_ID=""
REACT_APP_MEASUREMENT_ID=""
  • run
yarn install
  • run
yarn start