Coder Social home page Coder Social logo

faqelize_vue2's Introduction

drawing

πŸ€” Sometimes it happens that you need to make a FAQ for closed purposes, but you don’t want to install docker or set up a server with a database.
πŸ–€ Try it out: Faqelize Demo with password: 1234

Features

  • Fully standalone solution
  • No need hosting (can be used with pages at GitHub)
  • Database encryption (AES-256)
  • Easy to setup without coding
  • Change logotype
  • Create i18n (2 preinstalled languages: English and Russian)
  • Database file can be hosted on dedicated bucket/server
  • PWA support
  • Flexible: database, password and logotype can be passed as URL parameters

How to run

  • Download this project
  • Run npm install
  • Create file ./public/database.json with your Q/A database
  • Run npm run serve
  • Go to http://localhost:8080/ and check the FAQ (serve runs without password)

How to build

  • Check encryptDatabase (in faqelize.config.js) parameter to define password encryption before building
  • Run npm run build
  • (optional) if encryptDatabase is true you need enter password to encrypt database
  • Your FAQ is ready to use in ./docs folder πŸŽ‰

Database format

Simple JSON database with questions and answers.

[
    {
        "id": 1,
        "q": "What is your name?",
        "a": "My name is Ilya."
    }
]

Database with pages

[
    {
        "id": 2,
        "q": "What is JSON dictionary?",
        "a": {
            "type": "page",
            "page": "JSON_dict",
            "subText": "All about Dictionaries for Faqelize."
        }
    }
]
  • page option is a name of component at ./src/pages/

Database with simple answers as html

[
    {
        "id": 3,
        "q": "What is HTML?",
        "a": {
            "type": "html",
            "html": "<h1>HTML</h1><p>HTML is a markup language used to create web pages.</p>"
        }
    }
]

Files to setup

  • ./faqelize.config.js
  • ./src/i18n/{language_code}.js
  • ./public/database.json

faqelize_vue2's People

Contributors

powerdot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.