A simple social media management platform built with PHP and MySQL. This application allows users to register, manage social media accounts, and schedule posts.
- User Authentication: Secure registration and login system.
- Account Management: Add and manage multiple social media accounts (e.g., Twitter, Facebook).
- Post Scheduling: Schedule posts to be published at a future time.
- Dashboard: View the status of your posts (scheduled, published, failed).
- PHP 8.0 or higher
- MySQL 5.7 or higher
-
Database Setup:
- Import the schema from
schema/init.sqlinto your MySQL database. - The application expects a database named
puffer.
mysql -u root < schema/init.sql - Import the schema from
-
Configuration:
- Check
config/config.phpto ensure the database connection settings match your environment. - Default configuration:
- Host:
localhost - Database:
puffer - User:
root - Password: `` (empty)
- Host:
- Check
-
Run the Server:
- Start the PHP built-in development server pointing to the
public/directory.
php -S localhost:8000 -t public/
- Start the PHP built-in development server pointing to the
-
Access the Application:
- Open your web browser and navigate to
http://localhost:8000.
- Open your web browser and navigate to
public/: Web server entry point (containsindex.php, css, js).src/: Application backend logic and models.templates/: HTML templates for the views.config/: Configuration files.schema/: Database schema SQL files.docs/: Project documentation.
For more detailed information, please refer to the documentation located in the docs/ directory: