An open API service indexing awesome lists of open source software.

https://github.com/mrcheater/image-gallery

A gallery for viewing images
https://github.com/mrcheater/image-gallery

ajax async-await es6 es7 expressjs gallery image mongodb mongoose non-ajax

Last synced: 3 months ago
JSON representation

A gallery for viewing images

Awesome Lists containing this project

README

        

# image-gallery · [![Build Status](https://travis-ci.org/MrCheater/image-gallery.svg?branch=master)](https://travis-ci.org/MrCheater/image-gallery)

A gallery for viewing images

Express + MongoDB + Mongoose + ES6, ES7 + Async/Await + Ajax/non-AJAX mode

1. Image Uploader: Upload -> Extract Metadata -> Compress an image
2. Images are shown in multiple columns depending on the size of the display. They can be deleted.
3. Images can be commented (create/update description)

### Usage
``` bash
git clone https://github.com/MrCheater/image-gallery.git
cd image-gallery
npm install
npm run start
```

### Live Demo
##### SPA + Ajax mode
![SPA + Ajax mode](static/ajax.gif)

##### Disable JavaScript + Non-ajax mode
![Disable JavaScript + Non-ajax mode](static/non-ajax.gif)

### Requirements
* MongoDB 3.4.9
* Node.js 8.5.0

### License

This project is licensed under the terms of the MIT license