A web application that allows users to submit information via a frontend form. The backend API, built with C++ and the Crow framework, securely stores the submitted data in a MySQL database.
- RESTful API using the Crow framework
- Secure data storage with MySQL
- Environment variable management using cpp-dotenv
- Frontend developed with HTML, CSS, and JavaScript
Ensure the following are installed on your local machine:
git clone https://github.com/yourusername/GlobalHomeHealthCare.git
cd GlobalHomeHealthCarecreate .env file and included in your build folder you will need to add the following
DB_HOST=localhost
DB_NAME=your_database
DB_USER=your_username
DB_PASS=your_password
RECAPTCHA_SECRET=your-secret-key-here
mkdir -p cmake-build-debug
cd cmake-build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .macOS
Make sure you're in build directory before running following command:
export DYLD_LIBRARY_PATH="/opt/homebrew/opt/openssl@3/lib" sudo DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH" ./executableLinux
export LD_LIBRARY_PATH="/usr/local/openssl/lib"sudo LD_LIBRARY_PATH="$LD_LIBRARY_PATH" ./executable