Sportiee is a React-based web application styled using Tailwind CSS. It showcases sports teams and their details.
You can view the live demo of this project here.
To run this project locally on your machine, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/rahoolsingh/Sportiee
-
Navigate to the Sportiee directory:
cd Sportiee
-
Install all the necessary npm packages:
npm install
-
Run the React app:
npm run dev
If you wish to host this app on your LAN (Local Area Network):
npm run resdev
-
To build this React app:
npm run build
To set background images for the cards:
-
Visit Unsplash Developer.
-
Login or "Register as a developer".
-
Go to your apps > New Application > Follow the steps.
-
Copy the Access Key generated for your app.
-
In this project, go to
.env.sample
and paste the Access Key:VITE_ACCESS_KEY = '<YOUR_ACCESS_KEY>'
Replace
<YOUR_ACCESS_KEY>
with the key you copied. -
Save this file as
.env
.
Now, the background images will appear in your cards as configured.