Coder Social home page Coder Social logo

urldev / mern-react-times Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 21.31 MB

News/finance app made with MERN Stack

Home Page: https://urldev-react-times.netlify.app

HTML 0.45% CSS 0.76% JavaScript 98.77% Shell 0.03%
react redux redux-hooks hooks nytimes financialmodelingprep styled-components axios jest enzyme

mern-react-times's Introduction

React-Times ๐Ÿ“ฐ

Finance / News app made with MERN stack, NYTimes API and FinancialModelingPrep API.

React-times-home-demo

โšก Libraries and frameworks;

React, Redux, D3.js, Styled-Components, Node, Express, MongoDB, Jest, Enzyme, Multer, Adorable Avatars, Bcrypt, and JWT.

API can be found here

Design inspiration is from dribbble

๐Ÿ“ˆ D3.js

I added charts to various pages:

โœ… First, with market cards that show different financial instrument data and their chart.

โœ… Secondly, in market details page. The one in market details page is also responsive and can show different time frames.

React-times-chart-demo

๐Ÿ”ฌ Testing

I tested the app with Jest, Enzyme, Moxios and Redux Mock Store. For testing styled components, I used React-Test-Renderer and Jest-Styled-Components. After 309 tests, app has 92% line coverage.

Pages

profile update page user favorites page login register page

Environment Variables

NEWS_API_KEY: News API key is from NewYorkTimes API, more information about how to get started with their API can be found in their documentation.

CHART_KEY: Chart key is from financialModelingPrep API.

API_URL: URL for the API I created for the project (e.g. to help users login, save symbols). Because of the hosting issues with Heroku, I decided to host my APIs in fly.io and make the URL as a variable for future inconveniences.

Scripts

  • npm run start to start the app,
  • npm run test or npm t to run tests in watch mode,
  • npm run build to build the app,
  • npm run cover to run test coverage,
  • npm run eject to eject the app.

mern-react-times's People

Contributors

renovate[bot] avatar urldev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mern-react-times's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency enzyme-to-json to v3.6.2
  • Update dependency react-error-boundary to v3.1.4
  • Update dependency react-redux to v7.2.9
  • Update react monorepo to v17.0.2 (react, react-dom)
  • Update dependency connected-react-router to v6.9.3
  • Update dependency d3 to v6.7.0
  • Update dependency jest-styled-components to v7.2.0
  • Update dependency redux to v4.2.1
  • Update dependency redux-thunk to v2.4.2
  • Update dependency styled-components to v5.3.11
  • Update react-router monorepo to v5.3.4 (react-router, react-router-dom)
  • Update testing-library monorepo (@testing-library/jest-dom, @testing-library/react, @testing-library/user-event)
  • Update dependency redux-thunk to v3
  • Update testing-library monorepo (major) (@testing-library/jest-dom, @testing-library/react, @testing-library/user-event)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

npm
package.json
  • @testing-library/jest-dom ^5.11.4
  • @testing-library/react ^11.1.0
  • @testing-library/user-event ^12.1.10
  • axios ^0.21.0
  • connected-react-router ^6.0.0
  • d3 ^6.2.0
  • moments 0.0.2
  • react ^17.0.1
  • react-dom ^17.0.1
  • react-error-boundary ^3.1.0
  • react-redux ^7.2.2
  • react-router ^5.2.0
  • react-router-dom ^5.2.0
  • react-scripts 4.0.1
  • react-slick ^0.27.13
  • react-spring ^8.0.27
  • redux ^4.0.5
  • redux-logger ^3.0.6
  • redux-thunk ^2.3.0
  • slick-carousel ^1.8.1
  • styled-components ^5.2.1
  • toasted-notes ^3.2.0
  • web-vitals ^0.2.4
  • @wojtekmaj/enzyme-adapter-react-17 ^0.4.1
  • enzyme ^3.11.0
  • enzyme-to-json ^3.6.1
  • jest-styled-components ^7.0.3
  • moxios ^0.4.0
  • redux-mock-store ^1.5.4

  • Check this box to trigger a request for Renovate to run again on this repository

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.