An example Epxress node.js service running with swagger-jsdoc to provide api description. Forked from mjhea0/node-swagger-api.
Details | Route |
---|---|
API Description | http://localhost:3000/api-docs/ |
- cd to
node-swagger-api
sudo -u postgres psql -f puppies.sql
(creates the table)- npm start
- Browse to
http://localhost:3000/api/
error: psql: command not found
solution: follow installation guide for postgresdb