Skip to content

This was the tracker(backend api) I put for the calculator project, currently removed.

Notifications You must be signed in to change notification settings

isaka-james/backend-tracker-for-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend-tracker

paradoxmain

License

The backend tracker for this calculator project. Notably, this tracking functionality has been removed for enhanced user privacy.

⚠️ Scalability Important

  • The tracker is made in such a way it can be scalable to any project.
  • Feel free to use it in your custom project.

Features

  • User Data Analysis: Analysis of the user and user per day recording.
  • Performance Recording: Designed to track the user performance while using the calculator web application.

Technologies Used

  • Backend: Pure PHP
  • Database: MySQL
  • Hosting: [e.g., XAMPP, WampServer] (from this project I used 000webhost)

File Structure

backend-tracker-for-calculator /
|-- api/
|   |-- add-tracker.php  # Edit this file for backend code modifications.
|-- localhost - 2023-08-24T231826.106.sql # This is the database, extract db here

Installation

To install and run the backend, follow these steps:

  1. Get the project:
   git clone https://github.com/isaka-james/backend-tracker-for-calculator.git
   cd backend-tracker-for-calculator
  1. Database configuration:
    • Change the configuration to match your credidentials in api/add-tracker.php
// initializing of server variables
$server = 'localhost'; // for many distributions you can put 127.0.0.1
$db = 'id21133245_api'; // your custom database
$main_admin = 'id21133245_masterplan'; // your username in db
$main_admin_pwd = 'str0ngPassw0rd)'; // your pwd in db
  • Import the database. This is the kind of necessary because the database structure is in this file.
mysql -u your_username -p your_database_name < localhost - 2023-08-24T231826.106.sql
  1. Run the project:
   php -S localhost:80

About

This was the tracker(backend api) I put for the calculator project, currently removed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages