All Projects → bxm0927 → Movie Website

bxm0927 / Movie Website

Licence: mit
🎬基于 Node.js + Express + mongoDB + Bootstrap 搭建的电影网站。

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Movie Website

Angular Full Stack
Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
Stars: ✭ 1,261 (+968.64%)
Mutual labels:  mongodb, express, bootstrap
Node Express Mongoose Demo
A simple demo app using node and mongodb for beginners
Stars: ✭ 4,976 (+4116.95%)
Mutual labels:  mongodb, express, pug
Mern Login Signup Component
Minimalistic Sessions based Authentication app 🔒 using Reactjs, Nodejs, Express, MongoDB and Bootstrap. Uses Cookies 🍪
Stars: ✭ 74 (-37.29%)
Mutual labels:  mongodb, express, bootstrap
Fontend
使用Node、Vue、ElementUI、iViewUI,验证码等等搭建一个综合性网站(含后台管理系统)
Stars: ✭ 97 (-17.8%)
Mutual labels:  mongodb, express
Vue Node Mongodb
vue+express+mongodb+阿里云部署上线, 前后端分离博客
Stars: ✭ 88 (-25.42%)
Mutual labels:  mongodb, express
Hobbies
Keeping track of your hobbies
Stars: ✭ 90 (-23.73%)
Mutual labels:  mongodb, express
Fullstack Shopping Cart
MERN stack shopping cart, written in TypeScript
Stars: ✭ 82 (-30.51%)
Mutual labels:  mongodb, express
Meanstackjs
Mean Stack JS - MongoDB, Express JS, Angular JS & Node JS
Stars: ✭ 104 (-11.86%)
Mutual labels:  mongodb, express
Zhaopinapp
一个基于react16,redux,react-router4,antd-mobile,axios及node,express,mongodb实现的全栈招聘类webapp项目。
Stars: ✭ 100 (-15.25%)
Mutual labels:  mongodb, express
Mean Stack Angular5 Crud
MEAN Stack (Angular 5) CRUD Web Application Example
Stars: ✭ 107 (-9.32%)
Mutual labels:  mongodb, express
Jade Html5 Boilerplate
HTML5 Boilerplate ported to Jade. Great as a drop and go markup skeleton for Express apps.
Stars: ✭ 111 (-5.93%)
Mutual labels:  express, pug
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-27.97%)
Mutual labels:  mongodb, express
Framework
[NOT MAINTAINED] A full-featured PHP framework powering the server side of Webiny Platform. Can also be used as standalone library.
Stars: ✭ 110 (-6.78%)
Mutual labels:  mongodb, bootstrap
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (-5.08%)
Mutual labels:  mongodb, express
Node Express React Redux Zwitter
🐣 A basic clone of Twitter (Boilerplate App) - Separate API (express+mongo) and Frontend (react+redux) folders using Node, Express, MongoDB, React (create-react-app), React Router v4 and Redux.
Stars: ✭ 91 (-22.88%)
Mutual labels:  mongodb, express
Authenticationintro
Stars: ✭ 82 (-30.51%)
Mutual labels:  mongodb, express
Vue2 Shop
A shop developed with Vue2 + Vue-router + Axios + Vuex + Node + Express + MongoDB + Webpack
Stars: ✭ 103 (-12.71%)
Mutual labels:  mongodb, express
Express Rest Boilerplate
⌛️ Express starter for building RESTful APIs
Stars: ✭ 1,794 (+1420.34%)
Mutual labels:  mongodb, express
Polled.win
📊 Real time polling
Stars: ✭ 76 (-35.59%)
Mutual labels:  mongodb, express
Cheatsheets
JavaScript and Node.js cheatsheets
Stars: ✭ 1,191 (+909.32%)
Mutual labels:  mongodb, express

电影网站

此项目是基于 Node.js + Express + mongoDB + Bootstrap 搭建的电影网站。

主要功能模块:

  • 一期:前台电影展示页、电影详情页、后台电影管理中心(电影录入、电影修改)
  • 二期:用户登录注册注销功能、用户识别和持久化、后台用户管理中心(用户录入、用户修改)、电影评论

图片预览

技术栈

【前端】

  • HTML/CSS/JS:亘古不变三件套
  • ES6:ECMAScript 新一代语法,这也是以后的趋势
  • Monment.js:时间日期格式化插件
  • jQuery:主要用到 jQuery 的 ajax 方法处理异步请求和 DOM 操作
  • Bootstrap:页面 UI 框架,天然响应式,但是样式烂大街...

【后端】

  • pug:pug (以前的 jade) 是一个高性能的模板引擎,用来生成 HTML
  • Node.js:整个后端由 Node.js 驱动;用 npm 安装资源文件
  • Express:一个基于 Node.js 平台的 web 开发框架,由路由和中间件构成

【数据库】

  • mongoDB:进行数据存储的 NoSQL 数据库
  • mongoose:Node.js 的 mongodb 驱动软件包,是进行 mongoDB 快速建模的工具

【自动化构建】

  • gulp:前端自动化构建工具
  • JSHint:JS 代码校验

收获

  1. 熟悉了 pug 的语法及其在 Node.js 中的使用方法,了解到 pug 的优缺点及如何取舍
  2. 初步掌握了 express 框架的使用,如何处理路由以及中间件
  3. 掌握了 mongoose 在 Node.js 中如何连接数据库,以及 schema、model、entity 的使用
  4. 前后端数据传递与视图展现的流程
  5. 学会了使用 bcryptjs(Node.js 的一个加解密模块)对密码进行 “hash + salt” 处理
  6. 借助会话与 cookie 进行用户识别和持久化

TODO

  1. 用户登录注册未做表单校验等等
  2. 全面 Promise 化
  3. 升级成 ejs 模版
  4. 电影评论功能的功能过于简化
  5. 增加个人中心
  6. 前后台请求尽量使用 ajax 异步获取
  7. 还有很多...

Build Setup

# clone the repo into your disk.
$ git clone https://github.com/bxm0927/movie-website.git

# install dependencies
$ npm install

# run
$ npm start

# visit
$ http://localhost:3000/

License

The code is available under the MIT license.

Thanks

@Scott

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].