Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
Jeffery R a96e828287 Updated java ides post 8 anni fa
.idea history of jrtechs 8 anni fa
admin minor changes 8 anni fa
css Worked on getting code highlighting for markdown working 8 anni fa
downloads Started working on a downloads page 8 anni fa
entries Updated java ides post 8 anni fa
img Worked on the categories sidebar and cleaning up promise statements. 8 anni fa
includes Finalized changes for initial test deployment 8 anni fa
posts Fixed image scaling 8 anni fa
sidebar Fixed last minute bugs 8 anni fa
utils Started working on a downloads page 8 anni fa
LICENSE Initial commit 8 anni fa
README.md Started working on a downloads page 8 anni fa
server.js Started working on a downloads page 8 anni fa

README.md

NodeJSBlog

Recreating my wordpress blog in node JS.

MYSQL Information

create database blog_name;

use blog_name;

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 blog_name.* 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