Giter Site home page Giter Site logo

alvinvoo / smults Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 4.51 MB

Multi Tags Search web application for steemit.com

Home Page: https://smults-search.appspot.com

JavaScript 98.25% CSS 1.75%
react redux redux-thunk redux-promise dsteem search multitags nextjs

smults's Introduction

Smults or (a.k.a Steem MULti Tags Search)

steemit.com allows searches by using only ONE tag while busy.org searches by single user's name. This is inconvenient for those who need to look for more specific posts. Smults allows for multiple tags search, the ability to mark first tag as category, and the ability to filter by author.

Introduction

Click image to view youtube video
Smults Intro video

Getting Started

For development:

> git clone https://github.com/Alvin-Voo/smults.git
> yarn
> yarn run dev or yarn run next

For production:

> yarn run next_build
> yarn run next_start or yarn start

For testing:

> yarn test (for overall testing) 
> yarn test --verbose --coverage (to print out each test cases and coverage report)

RoadMap

  1. Route as the source of truth?

smults's People

Contributors

alvinvoo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

smults's Issues

Ability to filter by author

Is your feature request related to a problem? Please describe.
Additional features/re-purpose as listed below:

  1. Searching using no tags by default will return full search results
  2. Ability to filter by author. Use RPC call to condenser_api.get_blog API and then tag posts properly by 'resteemed' or 'original' author.
  3. Posts filter by author can be further filtered by user selected tags
  4. Overwrite next.js 404 page?
  5. No post found?

To add ESLint support

To add ESLint support according to airbnb presets such that the code is consistent.
To refactor the code and add suitable comments

Next.js doesn't hot reload

Describe the bug
Next.js' HMR seems to have stopped working after I've included next.config.js.

To Reproduce

  1. Do some changes in pages/
  2. HMR doesn't reload

Expected behavior
HMR to reload everytime I change something.

Desktop (please complete the following information):

  • OS: xbuntu 18.04
  • Browser chromium 68.0.3440.106 (Official Build)

Additional context
I suspect it has something to do with below settings
HotModuleReplacementPlugin {
options: {},
multiStep: undefined,
fullBuildTimeout: 200,
requestTimeout: 10000 },
Is it because HMR has timeout while trying to reload? Because build takes too long due to inclusion of css loader? Probably can do some experiments.

Add unit tests

Is your feature request related to a problem? Please describe.
After a code cleanup by ESLinting and a bit of refactoring. It's time to add unit tests.

Describe the solution you'd like
Using Jest and Enzyme to add different test cases and ensure as much code coverage as possible.

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.