- Authentication
- Cart with auth or without auth (cookie cart)
- Cloudinary based image server
- Env settings example
- Cookie cart syncronize with backend (if price change)
- copy to .env all from .env.development and fill the SECRETS (has AUTHENTICATION_DATABASE)
- yarn
- yarn develop
- copy to .env all from .env.production and fill the SECRETS (hasn't AUTHENTICATION_DATABASE)
- yarn
- yarn build
- yarn start
mongo "mongodb+srv://MYCLUSTER.mongodb.net/MYDB" --username MYUSER
- Public
- Dish => find,findone
- Restaurant => find, findone
- Cart => create, findone (Advanced settings Allow to perform this action for: isauthenticated), update (Advanced settings Allow to perform this action for: isauthenticated)
- User-Permissions:
- User=>me
- Donate => updateToConfirm
- Authenticated
- Dish => find,findone
- Restaurant => find, findone
- Cart => create, findone, update
- User-Permissions:
- User=>me, update, getuserorders
- Donate => count, find, findone, createorupdate, findlast