Leet-Coders is a leetcode users' states showing webapp, where an user can create account, add his choosen users in the friend list and can view their profile data. User can compare their profile with others through this app.
Home page of the app
- Adding Leetcode users to the prefered list
- View their profile
- Compare their profile
- Delete users from the list
Comparisn page
User's profile page
If you are using Manjaro operating system, then
XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. Install XAMPP
- Clone the project
- Move the project to the following directory:
/opt/lampp/htdocs/
- Start XAMPP :
sudo /opt/lampp/lampp start
- Create Database:
CREATE DATABASE leetcode_states;
CREATE TABLE users (
id INT PRIMARY KEY AUTO_INCREMENT,
username VARCHAR(255) NOT NULL,
author_username VARCHAR(255) NOT NULL,
CONSTRAINT unique_username_authorname UNIQUE (username, author_name)
);
- Open browser and go to the url:
http://localhost/Leet-Coders