Skip to content

website

Sidhin S Thomas edited this page Jul 24, 2017 · 5 revisions

Trymake's primary interface is the website.

Even though the term website is being used, it is actually a web application.

The source is kept in the module trymake.website. The applications found in the module constitute to segments of website

The modules within trymake.website are Django Apps but these will not define any models at all. These purely contain only views and helper objects e.g. Form().

All models are placed within trymake.apps. This page describes general details about the Trymake website.

Customer

Login Flow

There are two ways a user can login.

  1. Social Media account
  2. Email Based

Social Media account

There are two cases when logging in using the social media account.

Case 1: First Time
  • When logging in for first time, the user will be asked for his phone number.

  • When he enters the phone number, next screen will ask for an OTP that has been sent to his phone. User is free to skip that step

Warning: If the phone number is not verified using OTP then user will not be able to use any features related to phone number like receiving messages

  • Redirected to my-account page
Case 2: Already logged in once or registered using the same email.
  • Redirected to My-Account page.

Email Based

  • If the email is not verified. It will show error. There will be option to send verification email(To be implemented).

  • If email is verified, redirect to My-Account

Vendor

Vendor Login

  • Vendor accounts will be created by staff hence there is no need to verify them.

  • Vendor login will be in a URL different from the normal page. Something like www.trymake.com/vendor/

  • Once logged in, redirected to Vendor Panel

Vendor Registration

  • Vendor accounts can only be created using Staff.

  • Staff will specify vendor details like name, email etc and create an account.

  • An email will be sent to the specified vendor email.

  • When vendor clicks that link, they will be redirected to trymake

  • Trymake will ask to set password.

  • Once password set, vendors can access the Vendor Panel.