-
Notifications
You must be signed in to change notification settings - Fork 0
DTH Wiki
4.1 Dashboard
4.2 Users
4.2.1 Edit
4.2.2 Show
4.2.3 Delete
4.3 Events
4.3.1 Edit
4.3.2 Show
4.3.3 Delete
4.4 Groups
4.4.1 Edit
4.4.2 Show
4.4.3 Delete
4.5 Podcasts
4.5.1 Show
4.6 Library
4.7 Schedule
4.8 Custom Settings
DTH is a social network based in something with some objective. 😬
Ruby v2.7.4
Rails v6.1.4
Mysql2 v0.5.3
First, is necessary to clone the project from main branch: git clone [email protected]:sygnalgroup/dth-api.git
After clone, got to the project folder and run bundle
and then yarn
commands to install all gems of the project.
Run rails db:create
to create the project database.
Run rails db:migrate
to apply all Schema alterations.
To use this project properly, is necessary to replace the credential files inside the project. Ask for an administrator the updated credential files, then go to project folder Config > Credentials and replace the files. With system console, run EDITOR=nano rails credentials:edit --environment development
command to edit YOUR database information access (username and password).
On terminal, run rails s and the system should be able to be used at any navigator with the link http://localhost:3000/
4.1 Dashboard tab: TBD
4.2 Users
Users tab: Listing all persons registered on the system, showing what kind of user the are: if it is a student or a coach, email, phone and how many following and followers they have. Yet on the same place, three buttons are available: Edit, Show and Delete.
Yet on users tab, are available 2 other buttons: New user and All Users.
New user button will open a screen to register a fresh new user will all information's.
All Users button will serve for show only Coach's, only student's or all users, depending of what option is selected.
4.2.1 Edit
This button will open a screen where can be edited user info like First name, Last name, Phone, Email, if this user is a coach or not by checking or unchecking the "Coach" box and the profile photo by clicking on "Search" button and uploading a new image. Location info can be edited, like Street, City, State and Zip code. All the Social Network Info can be edited too: Tiktok, Instagram, Business name and Bio.
At the end of this page, two buttons are available: Save and Back to User list.
Save button will save all the alterations made.
Back to User list will take you back to previous page (User list).
4.2.1 Show
This button will open a screen who shows all user information's like Name, Email, Coach, Phone, Business Name, Instagram, TikTok, Street, City, State, Zip code, number of Following and Followers. If the User is a Coach, will be available a button to add New Students for him, and if the user is a Student, will be available a button do add New Coaches.
4.2.2 Delete
TBD
4.3 Events tab:
This tab will show all events created by a Coach. Will be displayed: created at, title, description, start date, end date and ads.
Will be available too a button named New event, to create a fresh new event.
4.3.1 Edit
On this tab, will be possible edit all the information's registered when the event was created.
Save button will save all the alterations made.
Back to User list will take you back to previous page (User list).
4.3.2 Show
This button will open a screen who shows all event information's like when it was created, Title, Description, Start date, End date and Time zone of the event. Yet on this page, a New Registration button is available to add users on event. When click on it, a new window will show a list of users who can be registered by clicking on Add button.
4.3.3 Delete
This button will delete the event. When click on it, a new window will show up, asking if you really want to delete the event, because this action is irreversible. After deleted, the event cannot be restored.
4.4 Groups tab:
This tab will show all groups created. A button named New Group is available to create a fresh new group. For each group listed, will be a button to Edit, Show and Delete the group.
New Group button will show a page to put the Name of the group, if it is an active group (if you mark the checkbox, it will be active) and can be chosen a image for this group by clicking on Choose from Gallery button. Save button will save all information's and Back to group list will send you back to group list page.
4.4.1 Edit tab:
On this tab, will be possible edit all the information's registered when the group was created.
Save button will save all the alterations made.
Back to group list will take you back to previous page (Group list).
4.4.2 Show tab:
This button will open a screen who shows all event information's like ID, when it was created and the name of the group.
Yet on this page, will be available a New user button to add new members for this group.
Save button will save all the alterations made.
Back to Group list will take you back to previous page (Show Group).
Underneath the groups information's, you will see a list of the user who are inside this group. For each user is available a button to Delete the user of the group. When click it, a new window will show up, asking if you really want to delete the user, because this action is irreversible. You can add the user again after this action.
4.4.3 Delete tab:
This button will delete the group. When click on it, a new window will show up, asking if you really want to delete the group, because this action is irreversible. After deleted, the group cannot be restored.
4.5 Podcast tab:
This tab will show a list with all podcasts created. Is available a button named Refresh, to update the podcast list.
4.5.1 Show tab:
For each podcast listed, is available a button to show all information's about the podcast like Buzzsprout ID (Buzzsprout is a host for podcasts, and the ID is a identification for the account used), Description, Summary, Artist, Publish date, when it was inactivated, Custom URL (a custom link published by the owner/artist of the podcast), Tags, Duration, Episode number, Season Number, if it's explicit or not, if it's private or not and Total Plays of this podcast.
4.6 Library tab:
On this tab all users can upload and use all images and videos available. Inside this tab, another three new tabs are available: Upload, Images and Videos. In Upload tab, can be uploaded images and videos when click on Choose file button.
4.7 Schedule tab:
On this tab, with an Acuity account is possible to manage a schedule for a podcast. To connect your account, is available a button named Connect to Acuity, then you will be redirected for website login and when the account is connected, you will be redirected back to DTH Schedule page to manage the schedule. Each user has their on acuity account, where all specific configurations can be done.
There is some options on this tab after login with Acuity. Appointment type let you choose with schedule will be used (with will previously configured on acuity account), Date - where is chosen manually the day that will be managed and a button named View Times to show what is available or not for the day chosen.
Underneath the Appointment type area, will be showed a table with two buttons, on the left side is a button showing the previous day and on de right day is a button showing the next day based on the date chosen in Appointment type date. In the middle of this two buttons, will be seen the date chosen previously.
For more information about how to use Acuity, check official documentation on this link.
4.8 Custom Settings tab:
TBD
For now, when a group was tagged with inactive, there is no way to (a user) restore him back.
TBD
TBD
Rascunho de documentação