js-crud-api icon indicating copy to clipboard operation
js-crud-api copied to clipboard

A Node.js port of the full php-crud-api project (single file REST API)

Results 2 js-crud-api issues
Sort by recently updated
recently updated
newest added

It works, but not as long. When i go to http://192.168.50.44:8000/posts/1, i see correct output: [{"id":1,"title":"testtitle","content":"Testcontent","created":"0000-00-00"}] But when i go to http://192.168.50.44:8000/posts/, i cant see tablenames, i see just []...

help wanted

Hi, just experimenting. Found that the code won't display all the records when used without the /1 This seemed because it was trying to do a SELECT * WHERE id="NULL"...

question