江湖在走,幹話不能沒有 😏
一個幹話產生器,用來學習 node.js、express、express-handlebars 和 body-parser的基礎知識。
- 使用者能選取一個講幹話的對象
- 使用者能一鍵生成符合該對象的隨機幹話
- 使用者能保存上次送出的選項,連續對該對象發射幹話
- Node.js: v10.15.0
- Express: v4.17.1
- Express-Handlebars: v4.0.4
- body-parser: v1.19.0
- Open the terminal and clone our project
git clone https://github.com/Carrot7712/nonsense_talker.git
- Access the directory
cd nonsense_talker
- Install npm
npm install
- Run the project
npm run dev
- You will see the following information in your terminal if things go successfully.
Express is listening on localhost:3000
Now, open the Chrome browser and go to http://localhost:3000 to generate all the nonsense words!
