Skip to content

kodeinabox/node_mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Developed for CreativeBitStudio by Danny Mack - Full Stack Developer.
  • Developer Feedback or for Hire: [email protected].

Contact

About

Connecting a node - express app with MySQL (locally)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published