RENT! e-commerce, submission for Atlas Hackathon

What I built

I have created an e-commerce that allows people to rent articles related to technology. The user can choose the number of days for which to rent one or more items. Since I don’t want to bore you too much, I made a video of about…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Matteo Bianchi

What I built

I have created an e-commerce that allows people to rent articles related to technology. The user can choose the number of days for which to rent one or more items. Since I don't want to bore you too much, I made a video of about 6 minutes for a quick overview:

Category Submission:

Search No More

App Link

Not hosted yet

RENT Project MongoDB Atlas Hackathon

The RENT project is an e-commerce where the user can rent products, previously uploaded by the website admin.
Youtube Video

Installation

  1. You need to clone this repository on your machine:
    git clone git@github.com:MB337/RENT-Project-MongoDB-Atlas-Hackathon.git
    
  2. Add .env file to your project and set it like this:
    COMPOSE_PROJECT_NAME=mongodb-hackathon
    MONGODB_URI=<YOUR-MONGODB-PROJECT-URI&gt
    
  3. Your MongoDB Database should look like this
    |ecommerce
    ---products
    ---stats
    ---report
    
  4. If you have Docker
    docker-compose up
    
    Else (note that you'll need to export env variables):
    python3 app.py
    

Tools/Modules

Those are MongoDB services and modules or tool that I used:

  • Flask: micro web framework written in Python.
  • Atlas Search: Atlas Search provides options for several kinds of text analyzers, score-based results ranking, and a rich query language.
  • Pymongo: Python distribution containing tools for working with MongoDB.
  • Chart.js: an open source JavaScript library for creating interactive and animated charts on web pages.
  • Axios: Axios is a promise-based HTTP Client for…

Screenshots

Description

You can install this project and run it with docker by following the instructions on my github.
The site contains an "Admin" section reachable at "/admin" which will contain data regarding the website: sales data that can be viewed on a graph, proposals for new products, section to add a new product, section to modify / delete a product. The website also offers the possibility to search for a product thanks to Atlas Search. Product data will be saved on MongoDB via pymongo as follows:

{
    _id: "id",
    category: "category",
    prodName: "name",
    desc: "description",
    price: "price",
    isHomepage: "Is it in Homepage?",
    isHomepageCarousel: "Is it in Homepage Carousel?",
    isCategoryCarousel: "Is it in Homepage?",
    image: "image-link",
    watch: "In progess..."
}

Modules or tool that I used:

  • Flask: micro web framework written in Python.
  • Atlas Search: Atlas Search provides options for several kinds of text analyzers, score-based results ranking, and a rich query language.
  • Pymongo: Python distribution containing tools for working with MongoDB.
  • Chart.js: an open source JavaScript library for creating interactive and animated charts on web pages.
  • Axios: Axios is a promise-based HTTP Client for node.js and the browser.
  • Bootstrap 5: Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development.

Link to Source Code

RENT Project MongoDB Atlas Hackathon

The RENT project is an e-commerce where the user can rent products, previously uploaded by the website admin.
Youtube Video

Installation

  1. You need to clone this repository on your machine:
    git clone git@github.com:MB337/RENT-Project-MongoDB-Atlas-Hackathon.git
    
  2. Add .env file to your project and set it like this:
    COMPOSE_PROJECT_NAME=mongodb-hackathon
    MONGODB_URI=<YOUR-MONGODB-PROJECT-URI&gt
    
  3. Your MongoDB Database should look like this
    |ecommerce
    ---products
    ---stats
    ---report
    
  4. If you have Docker
    docker-compose up
    
    Else (note that you'll need to export env variables):
    python3 app.py
    

Tools/Modules

Those are MongoDB services and modules or tool that I used:

  • Flask: micro web framework written in Python.
  • Atlas Search: Atlas Search provides options for several kinds of text analyzers, score-based results ranking, and a rich query language.
  • Pymongo: Python distribution containing tools for working with MongoDB.
  • Chart.js: an open source JavaScript library for creating interactive and animated charts on web pages.
  • Axios: Axios is a promise-based HTTP Client for…

Permissive License

Background

I was interested in discovering the new features of MongoDB, I come from SQL-type databases so it was an experience that enriched me

How I built it

I learned a lot from this competition, especially about using nosql databases


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Matteo Bianchi


Print Share Comment Cite Upload Translate Updates
APA

Matteo Bianchi | Sciencx (2022-12-06T20:03:35+00:00) RENT! e-commerce, submission for Atlas Hackathon. Retrieved from https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/

MLA
" » RENT! e-commerce, submission for Atlas Hackathon." Matteo Bianchi | Sciencx - Tuesday December 6, 2022, https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/
HARVARD
Matteo Bianchi | Sciencx Tuesday December 6, 2022 » RENT! e-commerce, submission for Atlas Hackathon., viewed ,<https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/>
VANCOUVER
Matteo Bianchi | Sciencx - » RENT! e-commerce, submission for Atlas Hackathon. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/
CHICAGO
" » RENT! e-commerce, submission for Atlas Hackathon." Matteo Bianchi | Sciencx - Accessed . https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/
IEEE
" » RENT! e-commerce, submission for Atlas Hackathon." Matteo Bianchi | Sciencx [Online]. Available: https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/. [Accessed: ]
rf:citation
» RENT! e-commerce, submission for Atlas Hackathon | Matteo Bianchi | Sciencx | https://www.scien.cx/2022/12/06/rent-e-commerce-submission-for-atlas-hackathon/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.