Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字。
 
 
jrtechs f6b97eb0ab Created export of diagram file 7 年前
.idea Added a sitemap generator 7 年前
admin Updated documentation 7 年前
css Worked on getting code highlighting for markdown working 8 年前
downloads Updated documentation 7 年前
entries Added a banner to the musical floppy drive build log 7 年前
img Added banners for multiple posts 7 年前
includes Updated admin CMS to be able to edit posts after they were entered 7 年前
posts Updated documentation 7 年前
sidebar Updated documentation 7 年前
utils Updated documentation 7 年前
Blog.dia Created a dia diagram file 7 年前
LICENSE Initial commit 8 年前
README.md Added a sitemap generator 7 年前
blogSql.svg Created export of diagram file 7 年前
generateSitemap Started working on site map generator 8 年前
package.json Added a sitemap generator 7 年前
robots.txt added meta stuff for google 8 年前
run Created run script 8 年前
server.js Updated documentation 7 年前
sitemap.txt Added a sitemap generator 7 年前

README.md

NodeJSBlog

Recreating my Wordpress blog in node JS.

MYSQL Information

create database jrtechs_blog;

use jrtechs_blog;

create table users(
user_id mediumint unsigned not null AUTO_INCREMENT,
user_name varchar(60) not null,
password char(64) not null,
salt char(64) not null,
primary key(user_id)
);

create table categories(
category_id mediumint unsigned not null AUTO_INCREMENT,
name varchar(60) not null,
url varchar(60) not null,
primary key(category_id)
);

create table posts(
post_id mediumint unsigned not null AUTO_INCREMENT,
category_id mediumint unsigned not null,
picture_url varchar(100) not null,
published datetime not null,
name varchar(100) not null,
url varchar(100) not null,
primary key(post_id)
);

create table downloads(
download_id mediumint unsigned not null AUTO_INCREMENT,
url varchar(20) not null,
file varchar(20) not null,
primary key(download_id)
);

create table popular_posts(
popular_post_id mediumint unsigned not null AUTO_INCREMENT,
post_id mediumint unsigned not null,
primary key(popular_post_id)
);

grant all on jrtechs_blog.* to blog_user@localhost identified by "password";

Node Dependencies

npm install express
npm install express-session
npm install mysql
npm install sanitizer
npm install promise
npm install highlight
npm install crypto
npm install express-force-ssl
npm install remarkable