Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.34 KB

File metadata and controls

32 lines (20 loc) · 1.34 KB

Node_Express_MySQL

Note: before you can clone or download this repo, make sure you have XAMPP (https://www.apachefriends.org/index.html) or MAMP (https://www.mamp.info) downloaded in order to connect to the apache and mysql server. Follow the websites instructions on how to properly configure them to your computer.

Additionally, This repo is meant for testing locally and should not be used for production, as it is not intended to establish a secure mysql connection over the web.

How to use it
  1. Clone (git bash recommended) or zip file from github repo.
  2. Open with prefered text editor.
  3. Run cmd
node app or node app.js
  1. If successfully created, console or selected terminal will indicate - Express server listening on port 3000 - Success! Connected to MySQL.

Note: If no connection is established to mysql, you may not be running apache and mysql server. Make sure you have both servers runnning through either XAMPP or MAMP, before running the node app.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Authors

Contact