GithubHelp home page GithubHelp logo

quotesportal's Introduction

QuotesPortal

Web application for generating quotes

Code guidance

Backend

  • under /server dir
  • mvc architecture
  • mongoose for mongodb validation, casting and business logic

Frontend

  • under /client/app dir
  • components design:
    • /containers - holds the parent components (render, navigation, routing between pages)
    • /details - holds business logic, e.g for Game component (game components, load question, keep score)
  • services - place for fetching data, shuffle arrays, etc.

UI Components (active):

Homepage

Generating random quotes on load and getting random quote on button click: homepage

Play (easy mode) - options are fully random, non related topics

playeasy

Inactive UI components (TODO):

- Authentication

- All time leaderboard based on game performance per user

- Hard mode (authors options should be on related topics)

How to run locally

The collections currently live in mongo database so not possible at the moment for this repo unless you set one yourself and read the uri from env file as here.

  • npm install
  • cd server & npm start (starts backend)
  • cd client/app & npm start (starts frontend)

Technologies

Node, Express, React, MongoDB

quotesportal's People

Contributors

ivvlko avatar ivankoev94 avatar

Watchers

 avatar

quotesportal's Issues

Implement hard game mode

currently leads to homepage

unlike easy mode, which finds 3 more random Question instances and select their authors, hard mode should select authors from a related topic

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.