Coder Social home page Coder Social logo

ashish-tupate / express-comment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from windlany/express-comment

0.0 1.0 0.0 1.14 MB

express+ejs搭建的简易后台评论系统,实现登录、注册、发帖功能

JavaScript 5.42% CSS 92.20% HTML 2.38%

express-comment's Introduction

express-comment

前言

之前一直写前端,了解过后端但是没有具体实现过接口。最近在学node,所以用express搭建了一个简易的后台,实现了登录注册等功能,写完这个Demo之后自己对后端的理解加深了一个层次,也了解了之前前后端没有分离的MVC模式的模板渲染具体细节。

这个demo是一个很简单的评论系统,用户注册登录之后发布评论,页面展示评论。其实可扩展性还是很高的,目前存储数据用的文件之后可以改为MongoDB或者Mysql,还可以添加删除、查找功能,这可以做一个论坛或者商城的评论组件。

效果图

技术栈

node.js+express+ejs+jquery

运行方式

# clone项目到本地
git clone https://github.com/windlany/express-comment.git 

# 安装项目依赖
cd express-comment
npm install 

# 运行以下命令打开浏览器的localhost:3000查看
npm start

express-comment's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.