Skip to content

scottgriv/mysql-node-express-rest_api

Repository files navigation


MySQL Badge Node.js Badge Express Badge Postman Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


Build a REST API with Node.js, Express, and MySQL

A simple REST API that allows you to perform CRUD operations on a MySQL database using Node.js, Express, and MySQL.

  • The data that is used consists of programming languages using CRUD operations.

Table of Contents

Getting Started

  • Install Node.js and MySQL.
  • Install Postman to test the API.
  • Install MySQL Workbench to view the database.
  • Install MySQL driver for Node.js: npm install mysql
  • Install Express: npm install express
  • Create a database in MySQL Workbench called languages.
  • Run the sql/projects.sql file to create the projects table.
  • Start the server: node server.js
  • Test the API using Postman.

Resources

License

This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.

  • The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
  • For more details, see the LICENSE file in this repository.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch