reddit-client's People
reddit-client's Issues
clean up TODOs
Get 90+ scores on Lighthouse
- there is a Lighthouse option in DevTools
- Scored above 90
- Report printed as PDF and saved to public folder in repo
Set up a CI/CD workflow to automatically deploy your application when the master branch in the repository changes
- build and deploy to Netlify
- https://suspicious-hawking-232766.netlify.app/
OPTIONAL: Make your application a progressive web app
- I'm spent... Maybe come back later and work on this item
# plan project
implement filtering
Router doesn't really solve the problem.
All that is required is to trigger a getListings action, passing filterTerm, zB
dispatch(getListings(filterTerm))
this is better done using a button / onClick / callback ->
<button onClick={() => dispatch(getListings('rising'))}>Rising
=== below is included for reference tp the past ===
filter and search
- I think the requirements mean by "filtering by preselcted categories" refers to these categories in the Reddit nav bar ->
best / controversial / hot / new / random / rising / top
filtering should be handled using Switch / Router / set endpoint in listingsSlice.js
# add Reddit data
"The application will allow users to view and search posts and comments provided by the API."
implement state management
- Redux, and Redux toolkit
need toolkit to get async stuff - Get on top of the Redux workflow
- Need async / API functionality
mockup from wireframe
- setup initial layout from wireframes
- stubbed in component code / calls
# create files and run locally
# build the components
1 npx cra reddit-client
2 npm install react-redux
3 npm install react-router-dom
4 start by writing tests
- react -> test rendering (snapshots)
- redux -> uses Enzyme (state injection?)
- router -> ???
# wireframe the application
- created using wireframe.cc
- added to repo public folder 20211102
# next steps
there is an optional PWA task.
maybe come back later to this...
add better styling
get images to size properly
quickly look into how to make grid responsive
transition animations
isLoading animations ->
testing
Unit tests with RTL and Enzyme
Write end-to-end tests for your application
using Selenium
https://www.selenium.dev/
- Selenium IDE talks about doing e2e testing. Let's go with this one.
implement search
# version control
- the project / repo linking instructions are a bit confusing.
- this project exists outside of the r-c repo.
- makes sense (projects can use multiple repos), but you can also create project(s) inside a specific repo.
# publish to the web
deployed to Netlify ->
https://suspicious-hawking-232766.netlify.app/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.