A react application for creating multi-choice questions
A web application using React for client side and http://pollsapi.docs.apiary.io
as api service.
This is a React application (using react-semnatic-ui) to demonstrate a simple voting system.
The goal of this application is to display a list of questions and user can vote to the questions or he can create his own question.
npm i
to install the packages.npm start
to start the application.Under implementation!!!.
npm run test
.To know more about the server apis go to https://pollsapi.docs.apiary.io/
.
This application created by CRNA. There are 3 main screens in this application:
QuestionList View
index.js
: it containts all the logic for QuestionList View
Layout
: Base presentational component for index.jsList
: Presentational component to list all the invoicesQuestionDetails View
index.js
: it containts all the logic for QuestionDetails View
Layout
: Base presentational component for index.jsChoice-Item-Desktop-Layout
: Presentational component to show every question choice in desktop modeChoice-Item-Mobile-Layout
: Presentational component to show every question choice in mobile modeQuestionInsert View
index.js
: it containts all the logic for QuestionInsert View
Layout
: Base presentational component for index.jsQuestion-Choice-List
: Presentational component to insert and delete the question choices, all its logic are inside the index.js
fileSettings for this application are inside a file named app.json
. You can find this file in the following path: ./app.json
.
key | Description & Values |
---|---|
url | To set the server side endpoint base url |