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.
- Run
npm i
to install the packages. - Run
npm start
to start the application.
Under implementation!!!.
- To run the tests simply execute
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 forQuestionList View
Layout
: Base presentational component for index.jsList
: Presentational component to list all the invoices
QuestionDetails View
index.js
: it containts all the logic forQuestionDetails 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 mode
QuestionInsert View
index.js
: it containts all the logic forQuestionInsert View
Layout
: Base presentational component for index.jsQuestion-Choice-List
: Presentational component to insert and delete the question choices, all its logic are inside theindex.js
file
Settings 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 |