- This is a group project so without my group mates permission i will keep the codes private.
A C++ web application using the Crow framework and MySQL, designed to manage PC accounts and parts. Documentation: https://drive.google.com/file/d/12dCGJHfyrPlsW8D8MeILkrlneEh8tm17/view?usp=sharing
Test.Video.mp4
This website is for pc building, has an example 3d models, has a working database for users/products/orders.
Before running this project, ensure the following dependencies are installed:
- C++ Compiler (e.g.,
g++, supporting C++11 or newer) - Crow (C++ web framework)
- Boost Libraries (usually installed via
libboost-all-dev) - MySQL Connector/C++ 1.1.x
- Download here: MySQL Connector/C++ 1.1
- XAMPP (for running MySQL and phpMyAdmin locally)
- OpenSSL 1.1
(if using MySQL Connector/C++ 1.1 on Ubuntu 22.04+, you may need to manually installlibssl1.1)
If you're not familiar with Crow, search for a guide or tutorial on YouTube to help set it up properly.
sudo apt update sudo apt install g++ cmake libboost-all-dev libssl-dev
git clone https://github.com/CrowCpp/crow.git cd crow
After successfully installing dependencies and setting up Crow:
Run this on the terminal with the source folder:
./crowbackend
Make sure XAMPP is running and MySQL is started:
sudo /opt/lampp/lampp start
Visit: http://localhost/phpmyadmin
For each .sql file (e.g., pc_accounts_db.sql, pc_parts_db.sql):
Create a database (e.g., pc_accounts_db)
Click the "Import" tab
Select the corresponding .sql file
Click "Go" to import
Repeat for all required SQL files.