- You can place an order as a customer and check the order status. There are two different payment methods. Payment by cash or Paypal.
- İf you want to create new products and view orders. You must log in as an admin.
- If you are logged in as an admin, you can see the "Add New Pizza" button.
Cloudinary
was used to store images in the cloud.Redux
used for state management.
-
Clone the repo
git clone [email protected]:ufukcankurt/nextjs-food-order-app.git
-
İnstall all dependencies
yarn || yarn install
-
Create .env file at the top of the application and add these parameters
To get MONGO_URL, you must first create a collection in MongoDB Atlas.MONGO_URL=
ADMIN_USERNAME=
ADMIN_PASSWORD=
TOKEN=
You can create manually the followings: ADMIN_USERNAME - ADMIN_PASSWORD - TOKEN -
Run the development server:
npm run dev # or yarn dev
The following is for admin only.