Skip to content

d4v3000/subreddit-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How I worked on this project

My goal was to simulate a professional work environment.

How to navigate this project

Why I built the project this way

  • I didn't use a state management library like Redux on purpose. For this app simple useState is sufficient. I realized that more and more projects don't use Redux anymore since GraphQL or react-query are often used for data management.
  • I used tailwindCSS to work with a CSS framework for the first time and gain some experience with it. It allows me to write CSS straight into the HTML Code without opening another file and writing the CSS myself.
  • My plan is to become a full-stack developer eventually. But for the beginning I focus on the frontend. That's why I decided to use an existing API rather to create a custom server. I have basic backend knowledge as well.
  • Testing is an essential part of production applications. Testing Library is the go-to library in the React community. I covered the essential features of the app with tests.

If I had more time I would change this

  • Set up continuous integration to run the tests and ESLint on every Pull Request
  • Refactor some of the code. Especially this part
  • Add responsive design and dark mode
  • Add end-to-end tests with Cypress.

Showcase

gif

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors