Skip to content

adieunix/express-api-mysql

Repository files navigation

NodeJS / Express / MySQL

A simple way to build express restful api and mysql server.

  1. Run npm install first to initiate node modules
  2. Running server: node server
  3. Browse url on port 3000

URI Routing

localhost:3000/controller/method?params=<params>

example :

http://localhost:3000/users/get_all_users?start=0&limit=10

HTTP Auth

user :: 123456

Dbconnection.js

Configure your connection to MySQL server instance . SQL file: example_api.sql . Database Name: example_api

About

Built RESTful API server within NodeJS and ExpressJS (MySQL module)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •