Our project includes a search function for easy product lookup and product tagging for improved navigation. Users can read reviews, explore trending items, and filter out unwanted products. A custom keyboard maker allows for tailored orders, complemented by a compatibility checker for part integration. We offer a streamlined e-commerce system for cart, checkout, and payments, alongside a rewards system using virtual currency to boost engagement. Users can also test keyboard performance, while admins manage stock levels and inventory replenishment.
Ensure you have the following installed:
- Node.js - Used for running JavaScript on the server and managing frontend dependencies.
- PHP - Used for the backend of the application.
- Composer - Dependency manager for PHP, used to install and manage libraries.
- Choose between PostgreSQL or MySQL - Used for the database management system.
-
Clone the repository:
git clone https://github.com/rederick29/team-project cd team-project -
Install dependencies:
npm install composer install
-
Set up environment file and generate
APP_KEY:cp .env.example .env php artisan key:generate
-
Build assets and start the application:
# Open the first terminal and type: npx tsc # Compiles Typescript to Javascript for the front-end to work npm run dev # Runs the debug server for the website # Open the second terminal and type: php artisan migrate php artisan db:seed php artisan storage:link php artisan serve
The website should now be running locally.
-
Update dependencies:
npm install composer install
-
Update database and views:
php artisan migrate:fresh php artisan db:seed php artisan storage:link
-
Build assets and start the application:
composer run dev
-
If the above fails for any reason, you can open 3 terminals and type one command per terminal:
# In Terminal 1 npx tsc -w # Compiles Typescript to Javascript for the front-end to work # In Terminal 2 npm run dev # Runs the debug server for the website # In Terminal 3 php artisan serve
The website should now be updated and running locally.