Skip to content

A todo-list application built with Node.js, Express, and MySQL.

Notifications You must be signed in to change notification settings

tsengm6h6/todo-sequelize

Repository files navigation

Todo List 📝

以 Node.js、Express 及 MySQL 打造的全端小工具,利用 Bootstrap 搭配 Bootswatch 快速完成畫面呈現

實作重點

  • 使用 Express 建構 MVC 模式的應用程式
  • 使用 express.Router 建立模組路由
  • 透過 Handlebars 樣板引擎產生 HTML 檔案
  • 透過 Sequelize ORM 操作 MySQL 資料庫完成 CRUD 功能
  • 使用 Passport.js 套件實行本地、臉書驗證功能
  • 使用 bcrypt.js 套件將使用者密碼加密
  • 建立 .env 管理敏感資訊

測試帳號

alt 首頁

Prerequisites

  • Node.js
  • npm
  • MySQL database

Installation

Environment

Clone

clone repository to your local computer

$ git clone https://github.com/tsengm6h6/todo-sequelize.git

Setup

  1. Enter the directory
$ cd todo-sequelize
  1. Install npm packages
$ npm install
  1. Setup database
$ npx sequelize db:migrate
  1. Run Seeder
$ npx sequelize db:seed:all
  1. Activate the server
$ npm run dev
  1. Find the below message for successful activation
App is running on http://localhost:3000

You can visit the application on your browser with URL: http://localhost:3000

About

A todo-list application built with Node.js, Express, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published