Thungghuan / tape

An anonymous ask & answer web application

Home Page:http://tape.thungghuan.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tape

🕶️ An anonymous ask & answer box

📬My box is at http://tape.thungghuan.xyz, welcome to ask me anything and star this repository.

Description

Since I'm too lazy to download the app to make my own question box, I decide to make one myself...

Application screenshots

  • home page demo

首页截图1 首页截图2 问题截图 提问截图
  • admin page demo

管理员登录 后台首页 管理员回复

Tech Stacks

Installation

mongod
  • Clone this repository

git clone  https://github.com/Thungghuan/tape.git
cd tape
  • Install dependencies

npm install

Run back-end server

npm run server

Compiles and hot-reloads for front-end development

npm run serve
  • Deploy

Compiles and minifies for production

npm run build

Since the project use Vue Router's history mode, for this single page client side app, without a proper server configuration, the users will get a 404 error if they access a child route directly in their browser.

To fix the issue, all you need to do is add a simple catch-all fallback route to your server. See this.

Usage

For everyone:

  • Everyone can visit the root page / to check all public questions
  • To ask a question, click the button in the home page or visit /ask
  • To check the answer of a question, click the tape of the question

For admin:

  • Visit admin page /admin for admin management. For the first time, it will redirect to a register page /register, and then will redirect to the login page /login
  • After signing up and signing in, it will finally redirect to admin page /admin and will show all questions, including those are not public and haven't answered yet
  • To answer one question or to update the answer of on question, click the tape of the question

Further development

For further developing, maybe I'll add some more features.

I call these 'To-do', but maybe I will never ever come back to achieve them :)

  • Make it to be used by more users, not just one admin.
  • Add a sub-question for every question, then someone can ask more about one topic.
  • Inform the asker when the question is answered.
  • Maybe Wechat Mini Program?

About

An anonymous ask & answer web application

http://tape.thungghuan.xyz


Languages

Language:Vue 73.3%Language:JavaScript 25.1%Language:HTML 1.7%