Skip to content

ShyGodB/BBS-by-Koa-Mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBS-Blog-Koa-Mysql

A bbs written by Koa and Mysql

The preparatory work

  1. A database named BBS in mysql, table building will be done automatically when program initialization.

  2. Change the following configuration according to your situation:

    avator

  3. In order to solve the problem of project initialization no data, I provide a SQL script file, you can run the project first, and then connect to the mysql, create and select the BBS database, then running this script, it can be Add 1,9,270 pieces of data to table user, boards, and topic, each sub BBS contains 30 test data: There is a command to run the script:

Source 'your computer path' + /BBS-by-Koa-Mysql/public/sql/init.sql

Run the project

Go to your project folder

git clone https://github.com/ShyGodB/BBS-by-Koa-Mysql.git

cd BBS-by-Koa-Mysql

npm install

npm start

If everything is OK, you can see a BBS on your browser and the address is :

http://localhost:3001

Admin background entry: lower left corner of homepage

Administrator user name : admin

Password: admin

A piece of my mind

If you have any questions or Suggestions, please contact me, thank you!!!

About

A bbs written by Koa and Mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published