Skip to content

Commit fdbd96b

Browse files
Initial Commit
0 parents  commit fdbd96b

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
| ![](https://user-images.githubusercontent.com/2933430/55542659-c0b0e100-5684-11e9-9877-20f218c8fde5.png) ![](https://user-images.githubusercontent.com/2933430/55542657-c0184a80-5684-11e9-9473-8a153a232301.png) ![](https://user-images.githubusercontent.com/2933430/55542656-c0184a80-5684-11e9-923b-2836944a474a.png) | ![](https://user-images.githubusercontent.com/2933430/55542654-c0184a80-5684-11e9-9436-9b3ae973e8b5.png) ![](https://user-images.githubusercontent.com/2933430/55542658-c0b0e100-5684-11e9-821f-03dc5f80c97c.png) ![](https://user-images.githubusercontent.com/2933430/55542655-c0184a80-5684-11e9-832b-657b683d0625.png) |
45+
46+
### [Alex Anderson](https://twitter.com/ralex1993)

0 commit comments

Comments
 (0)