Skip to content

duftunddu/duftunddu

Repository files navigation

Duft Und Du (Frangrance & You) 🎩

Meta

(Used to) Provide AI-powered personalized fragrance reviews and recommendations.


I went from providing reviews on YouTube, to automating the entire process. This was my FYP, and my 2nd project using laravel.

Independently created, modified, tested, and maintained the code. Trained and deployed the AI model on minimal data that I gathered myself. Covid killed the perfume side completely, and with it, this project.


All data was live. There's no dummy data. 🤭

But you can still waste your time by setting up a local server.


B2B 👔

Designed APIs to be used by fragrance webstores to show personalized fragrance reviews directly on the product page.



Frameworks

Tech

  • Laravel
  • Node(npm)
  • PHP
  • MySQL
  • Python
  • Sklearn

Team/Efficiency

  • JIRA
  • Toggl Track



Everything I Developed & Learnt

  • End-to-end Data Pipelines
  • Data Analysis
  • Brand Dashboard
  • Disposable Email Guard
  • Bulk Email System from Scratch
  • CSV/Excel Import/Export
  • Conda Envs
  • Merchant APIs



Video

Watch the video



Screenshots (Click on me!)

Search About Us Franrance Review Template Franrance Review Shop Sign Up User Profile Online Store



Setting up Local Server

1. Install NVM

Follow this guide to set up NVM.

Stack overflow thread on the same topic: No need for it, it's only here as a backup.


NVM can also be found here. Click on Download now, and download and install the setup:

Github | Corey Butler | nvm-windows


2. Use Node Version 16

Restart your code editor after installing.

Find the current version of node by:

nvm current

copy and paste in place of X.Y.Z to make your current version the default one:

nvm alias default vX.Y.Z

Example:

nvm alias default v18.17.1

Install node 16:

nvm install 16.0.0

List the installed node versions:

nvm list

Use node 16:

nvm use 16.0.0

Again to check:

nvm current

3. Install WAMP, XAMP or LAMP

Install wamp

You may need to do either or both of these, depending on what you are using:

Add or remove from system path in environment variables:

C:\xampp\php

Add or remove from system path:

C:\wamp64\bin\php\php7.4.33\

4. Install Laravel

composer global require laravel/installer
composer update --no-scripts

5. Set up Local Repository

Download the repo, and do the following:

  • Create database in phpmyadmin.
  • Create .env file from the example.env file in the repo.
  • Set database variable in .env.

In case you need any new env vars, you can find them here:
Example laravel env


6. Install npm modules

npm install

7. Run the following commands

php artisan cache:clear
php artisan config:clear
composer install
composer dump-autoload
php artisan key:generate
php artisan config:cache

Run migrations and seed the db:

php artisan migrate:refresh
php artisan db:seed

8. Start local server

php artisan serve

It'll be served at: http://localhost:8000



No Live Deployment

Was deployed on a VPS. Requires too big cache size for serverless, and I simply can't be bothered to deploy it as I've moved to React.


⢀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⣠⣤⣶⣶
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⢰⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣀⣀⣾⣿⣿⣿⣿
⣿⣿⣿⣿⣿⡏⠉⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿
⣿⣿⣿⣿⣿⣿⠀⠀⠀⠈⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠉⠁⠀⣿
⣿⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀⠀⠙⠿⠿⠿⠻⠿⠿⠟⠿⠛⠉⠀⠀⠀⠀⠀⣸⣿
⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⣴⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⢰⣹⡆⠀⠀⠀⠀⠀⠀⣭⣷⠀⠀⠀⠸⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠈⠉⠀⠀⠤⠄⠀⠀⠀⠉⠁⠀⠀⠀⠀⢿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⢾⣿⣷⠀⠀⠀⠀⡠⠤⢄⠀⠀⠀⠠⣿⣿⣷⠀⢸⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⡀⠉⠀⠀⠀⠀⠀⢄⠀⢀⠀⠀⠀⠀⠉⠉⠁⠀⠀⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿