Factile is an online survey platform that enables market research and insights into data. This is an open source tool and available for free for all purposes.
The only thing I must ask for is that you give the due credits to Factile when using it. And please feel free to Tweet about it, share it with your friends and colleagues or write blogs about it! Publicity is more than welcome, ofcourse!
The tool and its source code are available under MIT license (https://opensource.org/licenses/MIT). Your contributions are most welcome.
- Design a survey with multiple pages and multiple questions, just as fast as you can type :-).
- The different question types that are available are:
- Text boxes
- Radio buttons
- Check boxes
- Combo boxes (dropdowns)
- Text areas
- Plain texts
- more to come ...
- Preview a survey before sending it out.
- Surveys are based on Twitter Bootstrap's responsive design so they work on various devices.
- Natural and adaptive support for various computer screen resolutions.
- Support for iPhone/ iPads
- Support for Blackberry handhelds.
- Support for most other mobile devices!
- Invite participants through email.
- Analyse the captured data
- Build charts for individual questions.
- Group questions and build charts for the cumulative view.
- Draw insights on grouped questions.
- Export the data as Excel.
- Allows you to define simple jump logic (e.g. go to page 10 if user clicks x ).
- Download and install on your local box if you don't like the hosted instance!
The application code is written in JavaScript
- APIs: Node JS and Express JS
- Frontend: React JS
- Database: MongoDB.
API docs are available at https://developers.factile.net:81/
-
Git clone this repository
-
You must have the latest Node JS (v14 onwards) installed.
-
Install MongoDB and run mongod
-
To start the API server, run the following:
cd api npm install npm start
-
To start the frontend, run the following:
cd ui npm install npm start
-
Once the frontend has been started, it will automatically open
http://localhost:3000
in your default browser. Alternatively, you can use the URL to open it yourself -
For the APIs, you can run tests using
npm test
- You can choose for a bare metal or a Docker installation
- With Docker containers, Kubernetes or AWS Fargate will be natural choices at the time of writing these instructions
- The UI is hosted on Nginx
- API is run via PM2
- Appropriate environment variables need to be set in the target environment for the API to work. Following is the list as of now:
NODE_ENV: production
FACTILE_API_BASE_URL
FACTILE_UI_BASE_URL
FACTILE_API_BASE_URL
FACTILE_UI_BASE_URL
FACTILE_COOKIE_SECRET
FACTILE_GOOGLE_CLIENT_ID
FACTILE_GOOGLE_SECRET
FACTILE_FACEBOOK_APP_ID
FACTILE_FACEBOOK_SECRET
FACTILE_JWT_SECRET
FACTILE_MAIL_PASSWORD
- Fork the project into your github account
- Make the modifications
- Submit a pull request
- Be nice and respectful
- Please note: pull requests will only be accepted when they contain appropriate unit tests