git 테스트

sbkwgh 9f42832a20 Simplify design making only 2 clickable areas (the avatar to the user page, and the rest of the component to the thread) hace 7 años
config 0b7cea7321 Change host so it works for some reason hace 7 años
frontend 9f42832a20 Simplify design making only 2 clickable areas (the avatar to the user page, and the rest of the component to the thread) hace 7 años
lib 62c7e8a7d8 Use link-preview package hace 7 años
migrations 3d261548e0 Add session migration hace 7 años
models e95af412bc Fix bug where non-existent variable was being accessed leading to an error being thrown; fix by accessing this.username property hace 7 años
routes 62c7e8a7d8 Use link-preview package hace 7 años
test 62c7e8a7d8 Use link-preview package 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 831fa02ec4 Add link to the demo hace 7 años
package-lock.json 62c7e8a7d8 Use link-preview package hace 7 años
package.json 63c33e8d69 Remove postinstall line as it throws errors hace 7 años
server.js 1356d55090 Add linkPreview route, tests and implementation hace 7 años

README.md

Vue Forum

Simple and beautiful forum software - created using Express, Vue, and Sequelize.
Click here for a link to the demo.

Features

  • Mobile ready single-page application
  • Real-time notification system
  • Profile pictures
  • Infinite-scroll loading of posts and threads
  • @ mentions
  • Polls
  • Markdown editor
  • Inline link expansions for Twitter, GitHub, Wikipedia, and more to come
  • 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