Skip to content

Chatbot service for PCRS-VN. A PCPartPcicker-inspired website to compare prices and compatibility of computer components on different Vietnam retailers online

Notifications You must be signed in to change notification settings

amaggat/PCRS-VN-Chatbot

Repository files navigation

PCRS-VN is our project on Web application development course at VNU University of Engineering and Technology. We were inspired by PcPartPicker, a website that allows users create their own PC and check their compatibility, it also allow users to compare price from different retail stores.

  1. The homescreen: Dashboard
  2. The System Builder: Main area
  3. Browsing PC components: Browsing
  4. We have compiled a list of multi-purpose PCs, with filters for users to narrow down their choice: Build Guide
  5. Product details with ratings and similar products: Product details
  6. All products were crawled from different retail stores. We want to create a website where user can easly check for their items for their wishlist with its price, promo from retailer ... Product-detail

We are still working on deployment. The website will avaiable someday soon, thanks for your patient.

We crawl product, price, promo, ... from many retail stores such as GearVN , AnPhat, HanoiComputer, ... that users can access easly.

Note: All the data we have are crawled from their public website.

Front-end

In the project directory, you can run:

npm install

To install all the dependencies

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.

For more detail, please checkout our Front-end service here

Back-end

  1. Add application.properties to src/main/resources with below content
spring.jpa.hibernate.ddl-auto=none
spring.datasource.url= jdbc:mysql://localhost:3306/ (link to pcrs database)
spring.datasource.username= (insert username)
spring.datasource.password= (insert password)
spring.servlet.multipart.enabled=true
# Threshold after which files are written to disk.
spring.servlet.multipart.file-size-threshold=2KB
# Max file size.
spring.servlet.multipart.max-file-size=200MB
# Max Request Size
spring.servlet.multipart.max-request-size=215MB
## File Storage Properties
# Please change this to the path where you want the uploaded files to be stored.
file.upload-dir=(Directory)/PCRS-Chatbot/voice/audio
  1. Import database.sql to MySQL with your database.

  2. Run BackEndApplication.java and you ready to go.

For more detail, please checkout our Back-end service here

Recommender

  1. If you are familiar with Docker and Docker Compose, here is the "one-liner": cp .env.sample .env && docker-compose up -d --build

  2. Move config.json to harness-docker-compose/docker-persistence/harness/data.

  3. Open harness-cli. Use this command:harness-cli add data/config.json

  4. Run Setup.java and you ready to go.

For more detail, please checkout our Recommender service here
For more commands, please checkout here

Chatbot

  1. Install all requirements
  2. Download model here
  3. unzip model file to audio.
  4. Run application.py and you ready to go.

For more detail, please checkout our Chatbot service here

Reports paper

Special thanks to:

About

Chatbot service for PCRS-VN. A PCPartPcicker-inspired website to compare prices and compatibility of computer components on different Vietnam retailers online

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages