git 테스트

sbkwgh ff9ccf98c1 Delete posts (apparently cascade was not working) 7 tahun lalu
config 97c664e75d Prepare for use in heroku/production 8 tahun lalu
frontend 670c7ae7e4 Fix scroll-load component 7 tahun lalu
lib f8a6689a97 Disconnect and reconnect on login, logout and account creation to fix socket.io notification issues 7 tahun lalu
migrations c5bbdcbc2d Change length for unique fields to be below max length 7 tahun lalu
models c5bbdcbc2d Change length for unique fields to be below max length 7 tahun lalu
routes ff9ccf98c1 Delete posts (apparently cascade was not working) 7 tahun lalu
test 895f645aeb Add corresponding test 7 tahun lalu
.gitignore eefebb5978 Merge branch 'frontend' 8 tahun lalu
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file 8 tahun lalu
LICENSE 2e15a2ca14 Create LICENSE 8 tahun lalu
Procfile 97c664e75d Prepare for use in heroku/production 8 tahun lalu
README.md fe1026620b Merge branch 'master' of https://github.com/sbkwgh/forum 7 tahun lalu
package-lock.json 9ec4b7a943 Add sharp image processing package to resize photo to max 400x400 as a hook on ProfilePicture model update 7 tahun lalu
package.json 9ec4b7a943 Add sharp image processing package to resize photo to max 400x400 as a hook on ProfilePicture model update 7 tahun lalu
server.js ad3c4119ad Set higher maximum request payload (5mb) 7 tahun lalu

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
  • @ 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