add checkout api and ejs
Merge branch 'master' of https://github.com/FeiyuYin/cmpe273_project