A virtual market website using React and Firebase.
NOTE: Please read the RUN section before opening an issue.
The website resembles a real marketplace and you can sell or buy products.
- FIREBASE_URI: this is the connection string of your Firebase database.
Now you can run "npm start" in the terminal and the application should work.
The application is built with:
- React version 17.0.2
- Firebase version 8.4.3
- Webpack version 4.42.0
- Bootstrap version 4.4.1
- FontAwesome version 5.13.0
The application displays a virtual marketplace that contains products and contact information.
Users can do the following:
- Create an account, login or logout
- Browse available products added by the sellers
- Add products to the platform, a user must be logged in
- Display the product
- The product contains contact information of the seller
All the models can be found in the models directory created using firebase.
- username (String)
- password (String)
- title (String)
- imagePath (String)
- description (String)
- price (Number)
- category (ObjectId - a reference to the category)
- createdAt (Date)
- user (User must be logged in)
- title (Title of the product)
- image (Image of the product)
- description (Discription of the product)
- price (Price of the product)
- category (Category of the product)
- product (ObjectId - a reference to the product)
- contact (The product contains contact information of the seller)
You can use or customize this project by changing firebaseConfig
on src/Firebase/config.js
.