/rest_api_express_mysql

REST API using Express vs MySQL

Primary LanguageJavaScript

REST API use Express.js and MySQL

Usage

GET USERS (GET)

    http://localhost:4000/api/users

GET USER (GET)

    http://localhost:4000/api/users/id

CREATE USER (POST)

    http://localhost:4000/api/users

UPDATE USER (PUT)

    http://localhost:4000/api/users/id

DELETE USER (DELETE)

    http://localhost:4000/api/users/id