/crud-api-nodejs-mysql

A complete CRUD (Create, Read, Update, Delete) API using Node.js, Express, and MySQL with the MVC (Model-View-Controller) architecture.

Primary LanguageJavaScript

How to Create a CRUD API with MVC Architecture

NodeJS, Express & MySQL Database Project

Full Tutorial

On Youtube

Installation

Navigate into the project directory:

cd crud-api-nodejs-express-mysql

Install dependencies:

npm install

Starting The project

npm run dev

Features

  • Setting up a Node.js project with Express
  • Connecting Node.js to a MySQL database
  • Implementing CRUD operations (Create, Read, Update, Delete)
  • Using MVC architecture in a real-world project
  • Testing the API using Postman or similar tools

Requirements

  • NodeJS
  • MySQL 5.7 or higher

Contributing

If you'd like to contribute, please fork the repository and submit a pull request. Any contributions are welcome.

License

This project is open-source and available under the MIT License.