Giter VIP home page Giter VIP logo

employee-directory-angular-mysql's Introduction

Employee directory With angular & mysql

MYSQL backend adpdation to Employee Ditectory angular by Christophe Coenraets.

Setup

  1. import directory dump (under server).
  2. add database user & pwd in server/routes/employee.js
  3. in server folder type "npm install" //will install mysql required componenents for node
  4. in server folder tyep "node server" // Add '&' to run on background
  5. run on http://localhost:3000

employee-directory-angular-mysql's People

Contributors

kobisegev avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

employee-directory-angular-mysql's Issues

Node server gives issues

Hello Kobi,

I am trying to run your example. However, when I start it gives me the following error.

ReferenceError: res is not defined
at Handshake.exports.findAll as _callback
at Handshake.Sequence.end (/Users/shilpi/projects/nodeprojects/employeeangular/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:75:24)
at Protocol.handleNetworkError (/Users/shilpi/projects/nodeprojects/employeeangular/server/node_modules/mysql/lib/protocol/Protocol.js:255:14)
at Connection._handleNetworkError (/Users/shilpi/projects/nodeprojects/employeeangular/server/node_modules/mysql/lib/Connection.js:187:18)
at Socket.EventEmitter.emit (events.js:117:20)
at net.js:441:14
at process._tickCallback (node.js:415:13)

Can you please help me check the same.

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.