This project was developed by my team and I for the course IT2810 Web Development. You can read more about the application and process below.
- Group No: 8
- Participants: Ailin Anjadatter Tinglum, Cecilia Lie, Live Stamnes Dyrland, Nhung Pham
The project is built with:
- TypeScript
- CSS
- React
- Vite
- Node v.24.6.X+
- npm v11.+.
This repository contains a web application for playing and displaying music. Users can view songs from different genres and artists, view their playlists in the side bar and create new playlists. We have implemented a search field where the users can search for songs they like. The users can add songs to their playlists.
The core functionlity is implemented in the src folder, which contains the following structure:
- assets: Contains images of album covers for the songs.
- components: Core logic and styling for the different components displayed on the homepage.
- data: Mock data for the songs in our app.
- pages: Contains the different pages except the main page in our app.
In the parent folder, we have files connecting main functionality to a main webpage which is run from the main.tsx
- App.tsx combines the different components onto the main webpage
- App.css styling for
App.tsx - main.tsx runs the app
- index.css styling for
main.tsx
We utilized AI-based tools, including Claude Sonnet 4 and ChatGPT, to enhance our efficiency and accuracy while implementing complex features. AI assistance was particularly beneficial during the initial stages of the project for exploring recommended approaches.
To run the project locally, follow these steps:
-
Navigate to the
Prosjekt-2folder:cd Prosjekt-2 -
Install the necessary packages:
npm install npm install @tanstack/react-query npm install @tanstack/react-query-devtools
-
Start the development server:
npm run dev