- Introduction
- Installation
- Testing Payment
- Accessing Existing User Accounts
- Creating New Accounts
- Accessing Admin Account
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.
- From the
prototypedirectory, run the following command:Then both the front and backend should be running and you can reach the frontend atdocker compose up --build
localhost:3000
- 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- Any account on the platform follows the credentials convention of:
- email:
firstlastname@gmail.com - password:
securepassword
- 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.
- 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