This repository has been archived by the owner. It is now read-only.
PHP-Powered API for file uploading & handling - Made for
Clone or download
Pull request Compare This branch is 4 commits ahead, 1 commit behind gtsatsis:master.
Latest commit 2c93962 Oct 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib RLAuth migration code Jul 13, 2018
upload RLAuth migration Jul 13, 2018
users Update README.md Jul 17, 2018
LICENSE Initial commit Jan 6, 2018
README.md Update README.md Oct 2, 2018
SECURITY.md Create SECURITY.md Mar 11, 2018
composer.json Update dependencies Jan 30, 2018
composer.lock Working Jan 7, 2018
speechlines.inc.php Make errors POMF-Compatible Feb 9, 2018

README.md

RLAPI

RLAPI is the new RATELIMITED file hosting API, allowing for file uploading & handling in a fast and lightweight manner.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

PHP 7.x
Apache/NGINX/A PHP Capable Webserver
Minio (Can be found on minio.io)
Postgres
Our sample Database File (Will be uploaded later on. Currently working on polishing our software :) )

Also, you'll need a brain!

Installing

Once you have installed all the prerequisites, clone this git repo to your working directory.

Import the database file into PostgreSQL and make sure to edit your token.

Currently, there is no configuration and everything is hardcoded, as such, please edit the files and the requirements accordingly with the file locations that you are going to have.

Once done, POST to the api with a file in the form files[].

Note: Do not forget to change your token in the database!

Running the tests

Testing is fairly simple, just POST to the API and voila!

Deployment

Install, Test, Verify, done

Built With

  • PHP - The web framework used
  • Love - The secret ingredient

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Security

We are committed to providing a secure service, and you can read SECURITY.md for more information as to how to report vulnerabilities and get rewarded for it.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Every individual StackOverflow/StackExchange Network user whose code snippets were used. They are credited in the code comments.