All Projects → itemsapi → curated-list

itemsapi / curated-list

Licence: Apache-2.0 license
Build nice curated list by editing yaml file

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
shell
77523 projects

Curated list

Build nice client-side curated list by editing yaml file. See demo for movies - https://imdb.netlify.com/.

Features

  • faceted & full search
  • no db dependencies (search engine written in js)
  • website powered by editing simple yaml file
  • simple template engine (similar to twig)

Getting started

git clone https://github.com/itemsapi/curated-list.git
npm install

Edit config.yaml:

website:
  title: List of movies
  layout: 
    name: table
    columns: 
      - image
      - name
      - tags
search:
  searchableFields: ['name', 'tags', 'genres', 'actors']
  aggregations:
    tags: 
      size: 15
      title: Tags
    genres: 
      size: 10
      title: Genres
    actors: 
      size: 10
      title: Actors
data:
  type: url
  url: https://storage.googleapis.com/imdb-list/imdb.json
npm run build
npm start

Result:

See another examples

Short guide

After running npm run build all html, css and js files are generated in docs folder. You can use docs files for github pages or netlify deployment or maybe even AWS S3.

Generate website with different config:

npm run build --config databases.yaml

Deployment

# install now
npm install now -g
# deploy app with now 
now

Technologies

  • Express (minimalist web framework for Node.js)
  • ItemsJS (full text, faceted search engine in javascript)

Contributions

Any help from talented people with design or programming skills is very welcome.

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].