Git Product home page Git Product logo

voting-app's Introduction

MangaDB Client App

@Rafase282

Created by Rafase282

Github | FreeCodeCamp | CodePen | LinkedIn | Blog/Site | E-Mail

The Front-End for the MangaDB app

Gitter bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

Backend Source Code

MangaDB Secure RSTful API

To-Do

  • Create React single Page.
  • Fix Manga Form
  • Fix Tootltips not showing on Manga Card
  • Fix Error Page
  • Test Whole Site
  • Implement Fixed Size for Manga Cards
  • Fix the Too Manu Redirects Issue
  • Implement password Recovery and reset.

voting-app's People

Contributors

rafase282 avatar

Stargazers

 avatar Heronnes Pereira avatar Jessica avatar

Watchers

 avatar James Cloos avatar msusek avatar

voting-app's Issues

Showing SyntaxError: missing ) after argument list after forking and run in my mac locally

Hi, I tried to run your code in my mac locally, after npm install, however I got this weird error.

$ npm start

> [email protected] start /Users/Darius/Desktop/projects/ans/Voting-App
> node ./bin/www

/Users/Darius/Desktop/projects/ans/Voting-App/routes/index.js:34
        }, callback(ret) {
                 ^
SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/Darius/Desktop/projects/ans/Voting-App/app.js:11:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Darius/.npm/_logs/2017-07-12T03_23_08_038Z-debug.log

But I checked several times, the syntax is perfectly ok.

/* POST login details. */
router.post('/sendtoken',
  passwordless.requestToken(
    // Turn the email address into an user ID
    function(user, delivery, callback, req) {
      // usually you would want something like:
      User.find({
          email: user
        }, callback(ret) {  //SyntaxError coming from this line 
          if (ret)
            callback(null, ret.id)
          else
            callback(null, null)
        })
        // but you could also do the following
        // if you want to allow anyone:
        // callback(null, user);
    }),
  function(req, res) {
    // success!
    res.render('sent');
  });

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.