Working URL -> Click Here
Devloped using:
MongoDB (M) | Express.js (E) | React.js (R) | Node.js (N) | Bootstrap
{
fname: { type: String, required: true, },
lname: { type: String, required: true, },
email: { type: String, required: true, unique: true, },
gender: { type: String, required: true, },
batch: { type: String, required: true, },
month : { type : String, required: true, },
year : { type : Number, required: true, },
}
The above schema is how the user data is saved in the YogaDB database.
- Initially, the user is required to register himself/herself on the platform and select the batch for that particular month he wants to join in.
- Once the user registers with a given email address, that email address is bound as the unique identifier of that person's account.
- The batch cannot be changed for the given month once he has confirmed and has paid the said amount for the given month.
- If he wishes to change his batch, he can do so in any of the upcoming month wherein he just needs to log into his account by just specifying the email address with which he initially registered on the platform.
- Once logged into an existing email account, he is shown his last transaction month when he paid the monthly fee.
- He is given the option to pay the monthly fee for that given month and renew his membership.
- Once he pays again, his membership is renewed and is valid till the last day of the month post which it expires and is needed to be renewwd again via payment of the monthly fee for that particular month.