This project provides simple REST API for your MySQL database with user authorization support. There is also a sample frontend written in Angular.js
- Install Node.js
- npm install
- node server.js
- point your browser to http://localhost:3000
- /login (GET - returns 200 if user is authorized, POST - logs user in)
- /logoff (GET - log user off)
- /tables (GET - list tables)
- /table/:name (GET - list avaliable fields in the given table or view)
- /table/:name/:fields (GET - fetches data for the fields separated by commas)
- /reports (GET - list views)
- /table/:name/:key/:id (POST - updates row on the given value of key)