/nextjs-food-order-app

πŸ• MERN Food Order App - We can order food and track the status of the order. Two different payments are available Cash or PayPal.

Primary LanguageJavaScriptMIT LicenseMIT

MERN Food Order App πŸ• 🍽

  • 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.

Built With πŸ› 

Installation ⚑

  • Clone the repo

    git clone git@github.com: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
     MONGO_URL=
     ADMIN_USERNAME=
     ADMIN_PASSWORD=
     TOKEN=
    
    To get MONGO_URL, you must first create a collection in MongoDB Atlas.
    You can create manually the followings: ADMIN_USERNAME - ADMIN_PASSWORD - TOKEN
  • Run the development server:

    npm run dev
    # or
    yarn dev

Screenshots πŸ“Έ

The following is for admin only.