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.
- 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 theprojects
table. - Start the server:
node server.js
- Test the API using Postman.
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.
Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch