GithubHelp home page GithubHelp logo

core-api's Introduction

Food Delivery Backend

Live link🚀 -

This is the backend REST API of a food delivery application, which allows users to order food. It is built using Java with Spring Boot, and incorporates several technologies and features to provide a seamless food ordering experience.

Features

  • REST API: Provides a RESTful API for seamless communication between the frontend and backend.

  • User Authentication: Utilizes Spring Security for secure role-based authentication. Users can register, log in, and access their account.

  • Real-time Order Management: Implements Spring Websocket to enable real-time order management for administrators. Admins can receive and handle orders as they come in.

  • Restaurant Geolocation: Integrates Google Maps API for geocoding, enabling the system to find the nearest restaurants within a 2km radius.

  • Database: Utilizes Spring Data JPA to interact with a MySQL database for storing user information, orders, and restaurant details, etc.

  • Admin Panel: Administrators have the capability to add, delete, update food items, and accept or decline orders through the admin panel.

  • Caching Mechanism: Implements Redis Cache for efficient caching to improve system performance.

  • Email Verification: Users are required to verify their email addresses after registration. A verification link is sent to their email for confirmation.

  • JWT Authentication: Implements JWT (JSON Web Tokens) for secure user authentication and authorization.

  • Cloudinary Integration: Utilizes Cloudinary API for storing and managing food images.

  • Deployment: Hosted on Microsoft Azure cloud for scalability and reliability.

Technologies Used:

Backend:

  • Java
  • Spring Boot
  • Spring Security
  • Spring Data JPA
  • MySQL & Redis (for Caching)
  • Google Maps API (for geocoding)
  • Cloudinary API

Frontend:

Configuration:

Before running the application, make sure to configure the following settings in your application.properties file:

  • MySQL Database Configuration:
    • Set the database URL, username, and password in application.properties to connect to your MySQL database.

Example application.properties:

# MySQL Database Configuration
spring.datasource.url=jdbc:mysql://localhost:3306/your_database
spring.datasource.username=root
spring.datasource.password=your_password
# API-core

core-api's People

Contributors

cilut avatar phiponacci avatar

Watchers

 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.