- After clone git repository, run
npm install
to install dependencies
src/app
-
api
- getAllMenu : Fetch all menus from API server.
- postCard : Trying to pay with user ID and menu selection
-
order
- menu : Show menus and recommended menu from previous user data
- result : Notice order number and show status of order
-
page.tsx
in src/app : Check if login and Advertise new/promotion products
- If you want to deploy at
CloudFlare Pages
, please addnodejs_compat
flag to compaitibility flag menu.
- Add
BASE_URL
for backend endpoint, and addBUCKET_URL
withouthttp://
orhttps://
to download promotion image from your own server.
- React.js: MIT License
- Next.js: MIT License
- Tailwind CSS: MIT License
- PostCSS: MIT License
- TypeScript: Apache 2.0 License
- React Icons: See License List at official repository
- ESLint: MIT License