markdown files cheat sheet code example

Example: markdown cheat sheet

| CRUD   	| HTTP method 	| Path      	| Description    	| Mongoose methods                  	|
|--------	|-------------	|-----------	|----------------	|-----------------------------------	|
| Read   	| GET         	| /cats     	| get all  cats  	| Cat.find( )                       	|
| Read   	| GET         	| /cats/:id 	| get one cat    	| Cat.find({_id:id})                	|
| Create 	| POST        	| /cats     	| create one cat 	| new Cat( )      .save( )          	|
| Delete 	| DELETE      	| /cats/:id 	| Delete one cat 	| Cat.findAndDelete                 	|
| Update 	| PUT         	| /cats/:id 	| Update one cat 	| Cat.find      (make changes).save 	|
|        	|             	|           	|                	| Cat is the Mongoose model         	|

Tags:

Html Example