Giter Site home page Giter Site logo

digyk / zinger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pinqua/zinger

0.0 0.0 0.0 9.88 MB

Food ordering website for Zinger restaurant built using Next.js, TailwindCSS, Redux, Mongodb

Home Page: https://zinger.vercel.app

License: MIT License

JavaScript 97.69% CSS 2.31%

zinger's Introduction


Zinger

Food ordering website for Zinger restaurant built using Next.js, TailwindCSS, Redux, Mongodb

Logo

Demo

https://zinger.vercel.app

Screenshots

App Screenshot

Features

  • Responsive
  • Real Time and Dynamic
  • Progressive Web App (PWA)
  • Payment Gateway integration
  • Admin Dashboard with functionalities like adding products, deleting a product, updating products, adding a category, viewing users registered, updating order status, and canceling orders.
  • State management using Redux
  • Google authentication
  • Track order status real time
  • Cancel orders

Run Locally

Clone the project

  git clone https://github.com/Pinqua/Zinger.git

Go to the project directory

  cd Zinger

Install dependencies

  npm install

Create a .env.local file inside project directory with fields given below.

  # Authentication
  GOOGLE_ID=
  GOOGLE_SECRET=

  # Need to add this to... google cloud
  # http://localhost:3000/api/auth/callback/google


  NEXTAUTH_URL=http://localhost:3000


  HOST=http://localhost:3000


  # Stripe
  STRIPE_PUBLIC_KEY=
  STRIPE_SECRET_KEY=


  # Stripe Terminal/CLI
  STRIPE_SIGNING_SECRET=

  # Testing Webhook
  # stripe listen --forward-to localhost:3000/api/webhook


  # Mongodb Database
  # Use mongodb connection url with driver node.js and version 2.2.12 or later
  MONGODB_URI=
  # Your database name
  MONGODB_DB=
  # Add monogdb connection url 
  MONGO_URI=

Start the server

  npm run dev

Stripe Payment Gateway

Test Stripe payment gateway with these card details.

  BRAND - VISA
  CARD NUMBER - 4242424242424242
  CVC - Any 3 digits
  DATE - Any future date

See details: https://stripe.com/docs/testing

Contributing

Contributions are always welcome!

License

MIT



If you liked the repository, show your ❤️ by starring and forking it.

zinger's People

Contributors

pinqua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.