Giter VIP home page Giter VIP logo

kieu_gardenpost's Introduction

Kieu Garden Posts

This is Node.js with Express server, it uses MongoDB database with mongoose (ORM) to store users garden pictures. Users can upload their garden pictures for the public views.

Features

  • Upload garden pictures
  • Create title, description, published
  • Search by title, after and before published
  • Edit and delete post
  • Image-zoom for edit and show page
  • Using unique title instead of id for post with slugify
  • method-override for using PUT and DELETE

Screenshots

Used libraries

express, ejs, express-ejs-layouts, mongoose, filepond, image-zoom, method-overide, slugify

Design

  • Using filepond library: I able to convert an image into string to store on mongoDB with mongoose. I also have another web application server using multer library to store images on server publish file system, and store the pathname in mongoDB.
  • Image-zoom library: allow users to examinate the detail of the garden picture, it is fascinating feature.
  • Search feature, users can search on title, after and before pushlishDate, so they can narrow down what pictures they want to see
  • Users should only edit and delete their own post
  • I can create post id on url with unique name of title with slugify
  • Using more parcific actions like PUT and DELETE with method-override

kieu_gardenpost's People

Contributors

kieuhua avatar

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.