git 테스트

sbkwgh 30beb0629d Make it safer by having getContent function return an array of strings which are used as textContent rather than being interpolated (i.e. decreasing chance of XSS) hace 7 años
config 97c664e75d Prepare for use in heroku/production hace 8 años
frontend 30beb0629d Make it safer by having getContent function return an array of strings which are used as textContent rather than being interpolated (i.e. decreasing chance of XSS) hace 7 años
lib 282196b394 Use better error messages hace 7 años
migrations 3d261548e0 Add session migration hace 7 años
models 282196b394 Use better error messages hace 7 años
routes cc3a981cb2 Fix bug where error would occur trying to access id property of thread, when thread was deleted, and hence null hace 7 años
test 282196b394 Use better error messages hace 7 años
.gitignore eefebb5978 Merge branch 'frontend' hace 8 años
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file hace 8 años
LICENSE 2e15a2ca14 Create LICENSE hace 8 años
Procfile 97c664e75d Prepare for use in heroku/production hace 8 años
README.md 8ffeb1399e Add extra feature hace 8 años
package-lock.json 745709b7d3 Update marked dependency to 0.3.9 hace 7 años
package.json 745709b7d3 Update marked dependency to 0.3.9 hace 7 años
server.js 0e6b6b77a6 Use sequelize session store hace 7 años

README.md

Vue Forum

Simple and beautiful forum software - created using Express, Vue, and Sequelize.

Features

  • Mobile ready single-page application
  • Real-time notification system
  • Profile pictures
  • Infinite-scroll loading of posts and threads
  • @ mentions
  • Polls
  • Markdown editor
  • Admin dashboard for forum analytics
  • Multiple admin users
  • Moderation built in, including:
    • Locking or deleteing threads and posts
    • Blocking user IP address
    • Suspending users from creating posts or starting threads

Screenshot of the homepage

forum-screenshot

Install

To install on Heroku:

  1. git clone https://github.com/sbkwgh/forum.git && cd forum
  2. heroku login
  3. heroku git:remote -a <app-name>
  4. heroku config:set NODE_ENV=production
  5. heroku config:set SESSION_SECRET=<session-secret>
  6. Add database add-on, get database URL
  7. heroku config:set DATABASE_URL=<database-url>
  8. cd frontend && npm install
  9. npm run build
  10. Remove the line dist/ from .gitignore
  11. cd .. && git add -A && git commit -m "Update .gitignore"
  12. git push heroku master
  13. Visit the URL of the app and complete the on-screen instructions

N.B. the database here is assumed to be MySQL - to use Postgres or another you must install the corresponding driver on npm