Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API routes and basic HTML templates added #10

Merged
merged 12 commits into from
Nov 5, 2023

Conversation

Anthony-Massaad
Copy link
Collaborator

  • Created the base templates for each html page. Controller templates for routes and API calls added.
  • Html page for create survey implemented.
    • Can add basic text questions
    • Can add radio button questions
    • Can add range questions
    • Can remove any question. Can add more radio buttons to a specific question
  • API for creating a survey
    • Handles JSON parsing from the client side data
    • Creates the survey
  • API for grabbing an existing Survey to answer
    • Will send the model the survey data needed to generate the form.

@Anthony-Massaad Anthony-Massaad added the feature New feature or request label Nov 4, 2023
@Anthony-Massaad Anthony-Massaad added this to the milestone 1 milestone Nov 4, 2023
@Anthony-Massaad Anthony-Massaad self-assigned this Nov 4, 2023
@Anthony-Massaad Anthony-Massaad linked an issue Nov 4, 2023 that may be closed by this pull request
Copy link
Collaborator

@dorothytran dorothytran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect!

@Anthony-Massaad Anthony-Massaad merged commit 6ecdb84 into main Nov 5, 2023
1 check passed
@bardia-p bardia-p deleted the milestone1/OpinionOwl#6/ApiAndHTMLTemplates branch November 14, 2023 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTML templates and an API controller
3 participants