Skip to content

Simple blog based on node.js + express.js + pug (ex. jade)+ mysql

License

Notifications You must be signed in to change notification settings

ijin82/simple-node-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-node-blog

REM: Large upgrade in progress. Partly broken.

Simple blog based on node.js + express.js + pug (ex. jade) + mysql

This is learninig example app for newbies in node, here we look at:

Included externals (old version currently)

  • bootstrap v3.1.1
  • jquery v2.1.0
  • highlight.js 7.3
  • Font Awesome 3.2.1

Install

  1. mkdir folder_name
  2. cd folder_name
  3. git clone https://github.com/ijin82/simple-node-blog.git .
  4. Create database db_name mysql -u root -p
  5. mysql -u root -p db_name < sql/simple_node_blog.sql
  6. cp .env.example .env
  7. Fix all config settings here vim .env
  8. npm install
  9. node app.js

Debug

  • nodemon
  • npm -g install nodemon
  • nodemon app.js
    REM sometimes on virtualbox shared fs for example, you need nodemon -L app.js

Access params

admin:admin

Pasword is in users.pass field, a simple md5 hash so you can easily change it.

Language of interface

Only EN now.. Looking for multiple languages solution.

Planned

  1. wysiwyg (ckeditor may be) + image library
  2. Extend user profile (login, pass change, info)
  3. Roles changing + editor area for authors
  4. Social blog mode (seemed to be in far far glorious future)

About

Simple blog based on node.js + express.js + pug (ex. jade)+ mysql

Resources

License

Stars

Watchers

Forks

Packages

No packages published