nodejs+express blog project sharing

Project introduction: The project is built with nodejs+express+typescript+mongodb technology

The main function:

1. User registration

2. User login

3. Article management module

4. Picture management module

5.Token authentication

6. Password encryption

7. https service

8. Cloud storage of Qiniu pictures

9.pm2 project release management

 

Project source code: https://github.com/zhanggongze/nodejs-express-blog.git

Project demo: http://zhanggongze.com:9173/#/

 

Two ways to start the environment:

#1# Start two commands in the first (but see the log in real time)==

$npm run build--monitor ts changes->automatically compile
and execute npm run build, it will only compile ts files and monitor ts changes.

$npm run dev --monitor js changes->automatically restart the server
Install the supervisor module globally npm install -g supervisor, then you can use supervisor ./build/server.js in the terminal to start the server, and after the server-side code is changed, Automatically restart the server.

#2#Start a command in the second (can't see the log in real time)==

 $gulp

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325290092&siteId=291194637