Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 714 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 714 Bytes

Login System

Angular, Node, and MySQL

  1. Navigate to backend/config/config.json and change the password to your MySQL password.
{
  "host": "localhost",
  "user": "root",
  "database": "posts",
  "password": "< password >"
}

Note: For development purposes the host is localhost but this will need to be updated if you decide to deploy the application. By Default, MySQL gives the user 'root' with all privileges. You can simply change this to another user if desired. In this application we named our database 'posts', however, if you went with a different name this will need to be changed.

  1. cd backend
  2. $ npm install
  3. $ npm start
  4. cd ../frontend
  5. $ npm install
  6. $ npm start