git 테스트

kyoungminlee 372c501588 commit test2 4 gadi atpakaļ
config 16cb086a6b firstcommit 4 gadi atpakaļ
frontend 16cb086a6b firstcommit 4 gadi atpakaļ
lib 830283644e Fix variable giving errors wrong name; redirect to 404 page for invalid thread id 6 gadi atpakaļ
migrations 871235f81b The names of the migration file table references must match the casing specified by the models when they get created. Hence the issue where tables cannot be found when running npm run start. 5 gadi atpakaļ
models 436f71d908 Update to latest vue and fix random backend bugs 5 gadi atpakaļ
routes 2ff83c06e1 Change min query length 6 gadi atpakaļ
test 372c501588 commit test2 4 gadi atpakaļ
.gitignore eefebb5978 Merge branch 'frontend' 8 gadi atpakaļ
LICENSE 2e15a2ca14 Create LICENSE 8 gadi atpakaļ
Procfile 97c664e75d Prepare for use in heroku/production 8 gadi atpakaļ
README.md 3b5e73564f Fix build 5 gadi atpakaļ
package (2).json 16cb086a6b firstcommit 4 gadi atpakaļ
package-lock.json 16cb086a6b firstcommit 4 gadi atpakaļ
package-lock.json.bak 16cb086a6b firstcommit 4 gadi atpakaļ
package.json 16cb086a6b firstcommit 4 gadi atpakaļ
server.js 3b5e73564f Fix build 5 gadi atpakaļ

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

Screenshots

Homepage

forum homepage

Admin dashboard

forum dashboard

Admin settings page

forum general

Admin user page

forum users page

Admin moderation page

forum moderation

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. npx vue-cli-service 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