Sample code and doctypes needed

If possible can anyone share shopping cart or restaurant management code with sample doctypes and it’s corresponding code. Please email the code to 231192tarun@gmail.com.
Thank you.

@ZodEnIX You should start from here: http://frappe.github.io/frappe/user/en/
Rest of the code is already available on erpnext/erpnext/shopping_cart at develop · frappe/erpnext · GitHub