- Project description
- Stack specifications
- Project file structure
- Database structure
Cloudio is a cloud storage platform that allows users to store their files in a folder on the server and conveniently access them anywhere, on any device.
Every user is allocated a pre-determined amount of storage space which they can use to store almost any file type in their personal folder in the cloud. The user would then be able to download those files, or delete them to free up more storage space. In the future, there are plans to add more features to make Cloudio more convenient, such as renaming files, previewing image and text files, searching through your folder to find documents more easily, creating folders for better organization...
Cloudio uses the LAMP stack to run in a docker container.
LINUX: Ubuntu 22.04.1/Linux 5.15.0-48-generic
APACHE: 2.4.52
MYSQL: 8.0.30-0ubuntu0.22.04.1
PHP: 7.3
Cloudio:
img/:
error_icon.svg
logo.svg
user_folders/:
.htaccess
functions.php
index.php
Mysql.php
mysql_connect.php
mysql_credentials.php [SCRIPT:
const DB_USER="";
const DB_PASSWORD="";
]
process_signup_request.php
website.php
style.css
php.ini
README.md
cloudio:
user_accounts:
username VARCHAR(64)
spaceused_b BIGINT(20) DEFAULT=0
password VARCHAR(64)
user_files:
owner VARCHAR(64)
name VARCHAR(225)
size VARCHAR(6)
MySQL query to replicate database:
CREATE DATABASE cloudio;
USE cloudio;
CREATE TABLE user_accounts(
username VARCHAR(64),
spaceused_b BIGINT NOT NULL DEFAULT 0,
password VARCHAR(64));
CREATE TABLE user_files(
owner VARCHAR(64) NOT NULL,
name VARCHAR(225) NOT NULL,
size VARCHAR(6) NOT NULL);