Skip to content

notmels/ServiceHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

777 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServiceHub

Table of Contents

  1. Introduction
  2. Installation
  3. Testing Payment
  4. Accessing Existing User Accounts
  5. Creating New Accounts
  6. Accessing Admin Account

Introduction

ServiceHub is a platform designed to connect service consumers and service providers, bridging the gap between the demand and supply of basic services. It offers a one-stop platform where services can be listed, compared, and booked.

Installation

  1. From the prototype directory, run the following command:
    docker compose up --build
    Then both the front and backend should be running and you can reach the frontend at localhost:3000

Testing Payment

  • For testing transition to the premium service we have in our app, stripe CLI has to be installed with a valid account in order to forward the webhooks from Stripe to the local server. For that please run in the terminal:
 stripe listen --forward-to http://localhost:8080/webhook
  • Then the new test key and the webhook secrets can be injected via
docker-compose up -d \
 -e STRIPE_SECRET_KEY=new_sk_test_XXXXXXXXXXXXXXXXXXXXXXXX \
 -e STRIPE_WEBHOOK_SECRET=new_whsec_XXXXXXXXXXXXXXXXXXXXXXXX

Accessing existing user accounts

  • Any account on the platform follows the credentials convention of:
  • email: firstlastname@gmail.com
  • password: securepassword

Creating new accounts

  • We use OTPs to ensure that users who sign up for the platform do so with valid email addresses. To create a new account on the platform, make sure the email address can receive OTPs and other triggered emails, such as those for booking a service.

Accessing Admin account

  • We have one admin account that is responsible for viewing user details but most importatntly, verifying the certificates of the service providers that they upload for their certificates.
  • This account can be logged in using:
  • email: servicehub.seba22@gmail.com
  • Password: AdminServiceHub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages