Coder Social home page Coder Social logo

blog-express's Introduction

Todo

  • Markdown
  • Edit post (modal, fetch data via ajax)
  • Photo upload
  • salt password

blog-express's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog-express's Issues

login?

Hey there.

I'm learning nodejs, etc. I found your project and was wanting to use it as a learning resource, something to kinda take apart.

I got it all installed and running no prob, but need to log in. I see db/users.json, but the login/pass combo ([email protected] / 1) doesn't do it.

how would I go about getting logged in?

Thanks for any help.

Licence type ?

Can I know which license type you are using ?
I am willing to use this as base in my nodeJS application.

Thanks

issues with logout

steps.
1.downloaded zip and extract
2. ran seed.sh modified as per below to make it work
mongoimport --db blog --collection users --file ./users.json --jsonArray
mongoimport --db blog --collection articles --file ./articles.json --jsonArray

  1. node app.js and login as [email protected] psswd=1
  2. able to see admin page.

5 click logout. got redirected to root and in console

ET /js/admin.js 304 2ms
GET /css/style.css 304 11ms
GET /css/bootstrap-3.0.2/fonts/glyphicons-halflings-regular.woff 304 1ms
starting step - handleLogout
...finished step
GET /logout 303 2ms
GET / 200 74ms - 1.34kb
GET /js/jquery-2.0.3.min.js 304 11ms

but still able to access admin page

  1. stop app.js and restart then session destroyed

possible issue might be

exports.logout = function(req, res, next) {
req.session = null;
res.redirect('/');
};

req.session=null; did not clear the session

login page

Hi,
I'm quite new to node and was using your project to understand the workflow.
I do not know why i amm getting error of email/pw combination is correct.

Can you please help me out with that.?

Related Image

How to post the image in mongodb on post article page

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.