git 테스트

sbkwgh b6df5a2b45 Fix test před 7 roky
config 97c664e75d Prepare for use in heroku/production před 8 roky
frontend 62da9aa643 Change padding/margin, remove opacity change on hover před 7 roky
lib f5fbd78e57 Use new error handler for DRYer code, adding status into error message object před 7 roky
migrations c5bbdcbc2d Change length for unique fields to be below max length před 7 roky
models 6d92e495f3 Add and implement test to not allow blank characters in username před 7 roky
routes e12fd50a21 Use DRYer error handling před 7 roky
test b6df5a2b45 Fix test před 7 roky
.gitignore eefebb5978 Merge branch 'frontend' před 8 roky
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file před 8 roky
LICENSE 2e15a2ca14 Create LICENSE před 8 roky
Procfile 97c664e75d Prepare for use in heroku/production před 8 roky
README.md 8ffeb1399e Add extra feature před 7 roky
package-lock.json 9ec4b7a943 Add sharp image processing package to resize photo to max 400x400 as a hook on ProfilePicture model update před 7 roky
package.json 9ec4b7a943 Add sharp image processing package to resize photo to max 400x400 as a hook on ProfilePicture model update před 7 roky
server.js f5fbd78e57 Use new error handler for DRYer code, adding status into error message object před 7 roky

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