Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 1.94 KB

README.md

File metadata and controls

66 lines (48 loc) · 1.94 KB

Medium-Clone

This is a clone/copy of medium.com.

It gives the medium's some functionality in dirty way.

demo: http://blog.navneetpandey.com

Features

The repos used:

Inline Editor: https://github.com/daviferreira/medium-editor

screenshot screenshot

screenshot screenshot

Design: Copied from Medium (to save time) Time into project I guess its around 24 - 48 hrs mainly took time to copy the design.

Some More

screenshot screenshot

##Tables

CREATE TABLE IF NOT EXISTS `posts` (
 `id` int(100) NOT NULL AUTO_INCREMENT,
 `title` varchar(160) NOT NULL,
 `subtitle` varchar(250) NOT NULL,
 `post` longtext NOT NULL,
 `datetime` int(20) NOT NULL,
 `view` int(5) NOT NULL DEFAULT '0',
 `fk_u_id` int(100) NOT NULL,
 PRIMARY KEY (`id`)
)

CREATE TABLE IF NOT EXISTS `users` (
 `user_id` int(11) NOT NULL AUTO_INCREMENT,
 `username` varchar(32) NOT NULL,
 `password` varchar(32) NOT NULL,
 `first_name` varchar(32) NOT NULL,
 `last_name` varchar(32) NOT NULL,
 `email` varchar(1024) NOT NULL,
 `email_code` varchar(32) NOT NULL,
 `active` int(11) NOT NULL DEFAULT '0',
 `password_recover` int(11) NOT NULL DEFAULT '0',
 `type` int(1) NOT NULL DEFAULT '0',
 `allow_email` int(11) NOT NULL DEFAULT '1',
 `bio` varchar(120) NOT NULL,
 `profile` varchar(55) NOT NULL,
 PRIMARY KEY (`user_id`)
)

License

Do what you want to do!
Fork/ Download have fun.