https://github.com/adarshaacharya/premier-league-points-table
https://github.com/adarshaacharya/premier-league-points-table
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adarshaacharya/premier-league-points-table
- Owner: adarshaacharya
- Created: 2023-04-29T10:38:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T06:20:44.000Z (over 1 year ago)
- Last Synced: 2024-12-30T12:35:23.464Z (10 months ago)
- Language: TypeScript
- Homepage: https://premier-league-green.vercel.app
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Premier League Points Table
[View Live](https://premier-league-green.vercel.app/)
## Tech Stack
- Next.js
- Typescript
- Emotion for styling
- jest for unit tests
- date-fns as date library
## Local Development
Make sure you have `Node.js >=18.x` and `pnpm >=8.x` installed on your machine.
First, run the development server:
```bash
pnpm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Majorily two routes are important :
- [http://localhost:3000](http://localhost:3000) to view table sorted based on points
- http://localhost:3000/clubName, example : [http://localhost:3000/Arsenal](http://localhost:3000/Arsenal) to view particular team fixtures and results. You can click on team name on table to view particular team results and upcoming matches.
To run unit tests
```bash
pnpm run test
```
## Folder structure:
- pages : routes for all pages
- lib : contains all utilities to format the data with respective unit tests for each utilities
- styles : global styles and other resuable styles
- data : mock and real data
- components: reusable components, ui components, icons
Thank you !