sharath3002 / angularjs-nodejs-mysql

Web angular js(frontend), express js (backend) with mysql database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angularjs-nodejs-mysql

Web angular js as frontend, express js as backend and mysql as database This Package inclide npm backend package (express js ) and front end package(angular4)

Installation steps

  1. git clone https://github.com/Rajukumar468/angularjs-nodejs-mysql.git angularjs-nodejs-mysql
  2. cd angularjs-nodejs-mysql
  3. npm install (install expressjs dependency)
  4. cd client (go to front end directory)
  5. npm install (install angularjs(frontend) dependency)
  6. cd .. (come back to main directory "angularjs-nodejs-mysql")
  7. Change database settings- open index.js and do necessary changes
         var con=mysql.createPool({
    connectionLimit:50,
    host:'localhost',
    user:'root',
    password:'',
    database:'app'
         });

    Note: Make sure you are using Mysql database
  8. run "DEBUG=angularjs-nodejs-mysql:* npm start" command ( backend is up and running started)
  9. open http://localhost:3000/ in browser to verify backend
  10. cd client ( go to front end direcory(angularjs))
  11. ng serve (run angular)
  12. Open in browser http://localhost:4200/ (now angular up and running)

Now your project up and running.

Alt text

About

Web angular js(frontend), express js (backend) with mysql database


Languages

Language:JavaScript 46.0%Language:TypeScript 39.1%Language:HTML 14.0%Language:CSS 0.9%