Coder Social home page Coder Social logo

simple-node-blog's Introduction

Dependency Status simple-node-blog

Simple blog based on node.js + express.js + jade + mysql

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

Demo version

http://snb-demo.wired-mind.info/

Included externals

  • 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. mysql -u root -p -- Create database db_name
  5. mysql -u root -p db_name < sql/simple_node_blog.sql
  6. vim config/dbConfig.js -- to correct your db access
  7. npm install
  8. node app.js
  9. for passport auth usage change access params at config/ folder

Debug

  • nodemon
  • npm -g install nodemon
  • nodemon 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 RU now.. But it's simple!

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.