DEV Community

Cover image for MANGO - An service directory to find experts and book appointments
Purushothaman Raju
Purushothaman Raju

Posted on

MANGO - An service directory to find experts and book appointments

Overview of My Submission

Mango
An service directory to find experts in any field and book appointments with the experts

Submission Category:

E-Commerce Creation

Link to Code

Frontend Code
https://github.com/problemsolver03/Mango-Frontend

Backend Code
https://github.com/problemsolver03/mango-serverside

Additional Resources / Info

Features in the application

  1. Add a service
  2. Add Reviews
  3. Book Appointments
  4. View Appointment Schedules
  5. Search for experts

Mongo Features used

  1. Atlas Search
  2. Mongo DB cluster
  3. Realm for hosting and serverless functions

Tech Stack
Frontend : ReactJS, Tailwind UI
Backend : NodeJS, ExpressJS, MongoDB
Authentication :JWT based authentication , Cryptr for password encryption

Database Schema
USER SCHEMA

username: {
    type: String,
    required: true,
  },
  password: {
    type: String,
    required: true,
  },
  name: {
    type: String,
    required: true,
  }
Enter fullscreen mode Exit fullscreen mode

SERVICES SCHEMA

title: {
    type: String,
    required: true,
  },
  description: {
    type: String,
    required: true,
  },
  image: String,
  contactNo: {
    type: String,
    required: true,
  },
  email: {
    type: String,
    required: true,
  },
  address: String,
  price: {
    type: String,
    required: true,
  },
  category: {
    type: String,
    required: true,
  },
  user: {
    type: String,
    required: true,
  },
  rating: Number
Enter fullscreen mode Exit fullscreen mode

APPOINTMENTS SCHEMA

  serviceID: {
    type: String,
    required: true,
  },
  user: {
    type: String,
    required: true,
  },
  date: {
    type: Date,
    required: true,
  }

Enter fullscreen mode Exit fullscreen mode

REVIEWS SCHEMA

  review: {
    type: String,
    required: true,
  },
  rating: {
    type: Number,
    required: true,
  },
  serviceID: {
    type: String,
    required: true,
  },
  user: {
    type: String,
    required: true,
  }
Enter fullscreen mode Exit fullscreen mode

Screenshots of Application

Homepage
Dashboard
Appointments
Search
Details

Link to Application
Application Demo

Test credentials for application
email:test@test.com
password :123

Top comments (0)