Skip to content
diya-patraPublic

About

Luminara is a simple and creative blog platform where anyone can share thoughts, stories, and ideas. It’s built to make writing effortless and reading enjoyable — a space for voices that light up the web, one post at a time.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Luminara

PHP based web application.

Design Preview

Figma Design Preview

View the live Figma file here

Luminara CMS

A PHP & MySQL blog Content Management System built for multiple authors, featuring a beautiful Figma-inspired design using the Lemonada font and your custom Luminara logo.


Features

  • User Registration & Secure Login (passwords hashed)
  • Authors create, edit, delete, and publish posts
  • Draft/published post status
  • Visitors can browse all published posts (no login required)
  • Responsive, modern UI (gradient backgrounds, sidebar navigation, rounded blog cards)
  • Author dashboard for post management
  • Full blog post view
  • Minimal JS for basic interactivity

Tech Stack


Getting Started

1. Set up the database

Run the SQL script in your MySQL client:

CREATE DATABASE IF NOT EXISTS luminara;
USE luminara;

CREATE TABLE users (
    user_id INT AUTO_INCREMENT PRIMARY KEY,
    username VARCHAR(100) NOT NULL UNIQUE,
    email VARCHAR(100) NOT NULL UNIQUE,
    password VARCHAR(255) NOT NULL
);

CREATE TABLE posts (
    post_id INT AUTO_INCREMENT PRIMARY KEY,
    title VARCHAR(100) NOT NULL,
    content TEXT NOT NULL,
    author_id INT NOT NULL,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    status ENUM('draft', 'published', 'archived') NOT NULL DEFAULT 'draft',
    FOREIGN KEY (author_id) REFERENCES users(user_id) ON DELETE CASCADE
);

2. Update database configuration

Edit config.php if needed:

define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'luminara');

3. File Structure

/
├── assets/
│   ├── style.css
│   └── luminara-logo.png
├── config.php
├── db.sql
├── index.php
├── login.php
├── register.php
├── logout.php
├── dashboard.php
├── view_post.php
├── create_post.php
├── edit_post.php
├── README.md

Screenshots

UI based on Figma (Lemonada font) with modern gradients and sidebar:

  • Luminara Logo
  • Login UI
  • Dashboard UI

License

MIT (or your preferred license)

About

Luminara is a simple and creative blog platform where anyone can share thoughts, stories, and ideas. It’s built to make writing effortless and reading enjoyable — a space for voices that light up the web, one post at a time.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages