|
| 1 | +<h1 align="center"> |
| 2 | + <a href="https://ui.dev"> |
| 3 | + <img |
| 4 | + src="https://ui.dev/images/logos/ui.png" |
| 5 | + alt="UI.dev Logo" width="300" /> |
| 6 | + </a> |
| 7 | + <br /> |
| 8 | +</h1> |
| 9 | + |
| 10 | +<h3 align="center">TypeScript Course Curriculum - <a href="https://hn.ui.dev/">Hacker News Clone</a></h3> |
| 11 | + |
| 12 | +### Info |
| 13 | + |
| 14 | +This is the repository for UI.dev's "TypeScript" course curriculum project. |
| 15 | + |
| 16 | +For more information on the course, visit **[ui.dev/typescript](https://ui.dev/typescript/)**. |
| 17 | + |
| 18 | +### Project |
| 19 | + |
| 20 | +This is a (soft) "Hacker News" clone. |
| 21 | + |
| 22 | +You can view the final project at **[hn.ui.dev](https://hn.ui.dev/)** |
| 23 | + |
| 24 | +For the solution, I chose to build the project using vanilla JavaScript DOM APIs and Webpack to bundle the code. You could go that route; You could also try to build the project as a webserver using NodeJS. The only requirement is that you use TypeScript. |
| 25 | + |
| 26 | +This course doesn't cover using TypeScript with front-end frameworks, like React, Angular, Vue, or Svelte. This is because the type definitions for these packages can be a little complicated and I didn't want to over-complicate the course. If you are feeling ambitious, feel free to try building this project with the framework of your choice. |
| 27 | + |
| 28 | +### Solution |
| 29 | + |
| 30 | +If you get stuck, you can view my solution by checking out the `solution` branch. |
| 31 | + |
| 32 | +### Approaches |
| 33 | + |
| 34 | +There are a few different ways you can approach this, each with varying difficulties. |
| 35 | + |
| 36 | +- Hardest: Look at the [finished project](https://hn.ui.dev/) and build it. This is obviously the hardest approach but the one you'll gain the most learning from. The only thing that you'll need is the documentation for the [Hacker News API](https://github.com/HackerNews/API). |
| 37 | + |
| 38 | +- Easiest: Take 10-15 minutes to walk through [my code](https://github.com/uidotdev/typescript-course-curriculum/tree/solution). Notice how I approached different problems and how you may or may not want to do something similar. From there, start building and reference my project only as you need it. |
| 39 | + |
| 40 | +### Project Preview |
| 41 | + |
| 42 | +| Light Mode | Dark Mode | |
| 43 | +| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | |
| 44 | +|    |    | |
| 45 | + |
| 46 | +### [Alex Anderson](https://twitter.com/ralex1993) |
0 commit comments