Skip to content

Fullstack delivery website built using Next.js, TypeScript, Tailwind CSS, and tRPC.

License

Notifications You must be signed in to change notification settings

thiagobmi/mydelivery

Repository files navigation

logo7 (1)

MyDelivery is a fullstack delivery website built using Next.js, TypeScript, Tailwind CSS, and tRPC. This project is fully responsive, ensuring an optimal user experience across various devices. Additionally, it supports both dark mode and light mode themes for a visually appealing interface. The project also includes an admin dashboard powered by Payload CMS for managing content.

This application is designed with flexibility in mind, making it easy for restaurants and similar businesses to customize and adapt it to their specific needs.

Live Demo

You can view the live version of the MyDelivery frontend here:

🔗 Live Demo

Features

  • 🌐 Responsive Design: Optimized for both mobile and desktop devices.
  • 🌙 Dark & Light Mode: Toggle between dark and light themes.
  • 🛠️ Tech Stack:
    • Frontend: Next.js, Tailwind CSS, TypeScript
    • Backend: tRPC for API handling
    • Styling: Tailwind CSS
    • CMS: Payload CMS for admin dashboard
  • 🚀 Fast & Lightweight: Developed with performance and user experience in mind.
  • 🔄 Easily Customizable: Simple to modify for restaurants and similar businesses.

Screenshots

Home Page

Light Mode (Desktop) Dark Mode (Desktop)
Home Page - Light Mode Home Page - Dark Mode

Menu Exploration

Explore Menu (Desktop) Explore Menu (Mobile)
Explore Menu - Light Mode - Desktop Explore Menu - Light Mode - Mobile
Explore Menu - Dark Mode - Desktop Explore Menu - Dark Mode Mobile

Item Details

Item Detail (Desktop) Item Detail (Mobile)
Item Detail - Light Mode - Desktop Item Detail - Light Mode - Mobile

Cart and Checkout

Cart (Mobile) Checkout (Desktop)
Cart - Light Mode - Mobile Checkout - Dark Mode - Desktop

Orders

Orders (Desktop) Orders (Mobile)
Orders - Dark Mode - Desktop Orders - Light Mode - Mobile

Profile Page

Profile (Desktop) Profile (Mobile)
Profile - Light Mode - Desktop Profile - Dark Mode - Mobile

Admin Panel

The admin panel can be accessed by navigating to /admin.

Admin Page
Admin Page

Authentication

Sign Up (Desktop) Sign In (Desktop)
Sign Up - Light Mode - Desktop Sign In - Dark Mode - Desktop

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/thiagobmi/mydelivery.git
  1. Navigate to the project directory:
cd mydelivery
  1. Install dependencies using Yarn:
yarn install
  1. Set up MongoDB:
  • Go to MongoDB Atlas and create a free account.
  • Follow the steps to create a new cluster. Once the cluster is set up, click "Connect" and select "Connect your application."
  • Copy the connection string provided (e.g., mongodb+srv://:@cluster0.mongodb.net/myFirstDatabase?retryWrites=true&w=majority).
  • Replace the <YOUR_MONGO_URL> placeholder in the .env file with this connection string, ensuring you add your username, password, and database name.
MONGO_URL=mongodb+srv://<username>:<password>@cluster0.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
  1. Start the development server:
yarn dev
  1. Open http://localhost:3000 in your browser to see the application.

Contributing

Feel free to fork the repository and make improvements! Pull requests are welcome.

About

Fullstack delivery website built using Next.js, TypeScript, Tailwind CSS, and tRPC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published