Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a9bb6c3
updated readme
pamelakaylin Mar 11, 2021
28a6799
build(readme): test git workflow
geroalexander Mar 11, 2021
8656630
added branch test readme
pamelakaylin Mar 11, 2021
65522d4
chore(gerotest): n
geroalexander Mar 11, 2021
19d6128
Merge branch 'branch_test' into staging
geroalexander Mar 11, 2021
fc76d1e
updated readme w todos
pamelakaylin Mar 11, 2021
8b393e9
added git workflow
pamelakaylin Mar 11, 2021
8283bf1
set-up complete
geroalexander Mar 12, 2021
f432339
added prettier
pamelakaylin Mar 12, 2021
b3cfd2c
Merge branch 'staging' of https://github.com/pamelakaylin/listspotter…
pamelakaylin Mar 12, 2021
5ae3648
added TS dependencies
pamelakaylin Mar 12, 2021
dc967c3
transformed imports to importfrom
pamelakaylin Mar 12, 2021
b26455f
style(controller/modeller): tS implemented + imports/exports adjusted
geroalexander Mar 12, 2021
1fa56b6
style(package.json) tsc
geroalexander Mar 12, 2021
29bb086
fix(controller): updated to ts
pamelakaylin Mar 12, 2021
ddb7b39
fix(packagejson): added to git
pamelakaylin Mar 12, 2021
3353582
fix(modeller): changed to ts
geroalexander Mar 12, 2021
4920186
fix(modellers): merge conflicts
geroalexander Mar 12, 2021
3429cd2
style(server): typescript add
pamelakaylin Mar 12, 2021
27747e2
feat(genre_test): added test file
pamelakaylin Mar 13, 2021
3c8c555
chore(prettier): setup for client side formatting
pamelakaylin Mar 13, 2021
d06bae2
chore(prettier): fixed format bugs
pamelakaylin Mar 13, 2021
b050acc
feat(genre_test): firs two
geroalexander Mar 13, 2021
eec99c9
feat(genre_test): added for genre item
pamelakaylin Mar 13, 2021
0ac8b13
feat(genre_test): completed tests
pamelakaylin Mar 13, 2021
6639160
test(artist_test): implemented for artist item)
geroalexander Mar 13, 2021
9f4d187
test(playlist_test): implemented basic
pamelakaylin Mar 13, 2021
272a601
test(playlist_item): finished all tests
pamelakaylin Mar 13, 2021
204153a
updated readme
pamelakaylin Mar 15, 2021
656afbd
feat(datamocks): added artist list
pamelakaylin Mar 15, 2021
2a3e486
chore(artists):add test file
geroalexander Mar 15, 2021
592d119
test(artist_test): finished for artist list
pamelakaylin Mar 15, 2021
d18c5f4
test(genre_test): finished for genre list
pamelakaylin Mar 15, 2021
3ee8f5f
style(__tests__): renamed test files
geroalexander Mar 15, 2021
0f24830
test(playlist_test): finished playlist list
pamelakaylin Mar 15, 2021
d051984
test(playlist_test): formatted test
pamelakaylin Mar 15, 2021
400a2c9
test(modal):render test implemented
geroalexander Mar 15, 2021
79252ac
test(login): added tests + adjusted render test 2 other files
geroalexander Mar 16, 2021
b5e0abd
test(searchbar): file created
geroalexander Mar 16, 2021
3c9c0d3
test(search-bar): searchbar component renders
geroalexander Mar 16, 2021
00209c2
test(main): render tests
geroalexander Mar 17, 2021
2f5e1e7
chore(cypress): added cypress
pamelakaylin Mar 17, 2021
90061cd
test(cypress): finished
pamelakaylin Mar 17, 2021
7c7a2a3
Update README.md
pamelakaylin Apr 3, 2021
9c17017
Update README.md
pamelakaylin Apr 3, 2021
14dc1fc
Update README.md
pamelakaylin Apr 3, 2021
a980fc4
style(readme.md): update README
geroalexander Apr 3, 2021
6e53563
Update README.md
pamelakaylin Apr 3, 2021
0b525b4
fix: update readme with install guide
pamelakaylin Apr 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true
}
91 changes: 90 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,90 @@
# listspotter
# Listspotter

Listspotter is an application that lets users create genre based playlists of tracks they have saved in their Spotify accounts. <br>
With Listspotter it is quick and easy to have a coherent playlist out of the songs you already like, in just a few minutes.

## Screenshots

![listspotterSS3](https://user-images.githubusercontent.com/65975591/113475350-5c90a580-9475-11eb-9407-3982e427a6ba.png)

![listspotterSS4](https://user-images.githubusercontent.com/65975591/113475359-674b3a80-9475-11eb-8140-c23d0e5996e9.png)

![listspotterSS5](https://user-images.githubusercontent.com/65975591/113475362-6c0fee80-9475-11eb-981a-da925b7308ef.png)

##

## Getting Started

Listspotter uses Spotify Web API and as such, you will need to register your app in Spotify's Dashboard [here.](https://developer.spotify.com/dashboard/login) After registration you should have a client ID, a client secret and have your redirect URL entered in project settings (the URL that Spotify will redirect your user to after login - default would be the port used by your local React app) In case needed, you can find additional information [here.](https://developer.spotify.com/documentation/general/guides/authorization-guide/) Note that this project uses Authorization Code Flow.

After you register with Spotify, follow these steps below to get started:

1. Clone the repo

```
git clone https://github.com/ascolm/listspotter.git
cd listspotter
```

2. Install dependencies

```
npm install
```

3. Directly under the "server" folder, add a config.js file that exports your client ID, client secret key, redirect uri and Spotify's token link (make sure you ignore this file on git!!).

```
module.exports = {
clientID: // YOUR CLIENT ID HERE,
clientSecret: // YOUR CLIENT SECRET HERE,
redirectUri: // YOUR REDIRECT URI HERE,
spotifyTokenUrl: 'https://accounts.spotify.com/api/token'
};
```

4. Under "src" folder in your client, add a config.js file that exports your client ID, redirect uri and server url(ignore this file on Git too).

```
module.exports = {
clientId: // YOUR CLIENT ID HERE,
redirectUri: // YOUR REDIRECT URI,
serverBaseUrl: // SERVER URL HERE, ex: 'http://localhost:3001'
};
```

5. You can run your server using nodemon to watch for changes:

```
cd server
nodemon
```

6. Navigate to client folder and launch the React app:

```
cd ../client
npm start
```

##

# Teck Stack

- [Jest](https://jestjs.io/)
- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)
- [Cypress](https://www.cypress.io/)
- [TypeScript](https://www.typescriptlang.org/)

# Contributors ✨

Github's and LinkedIn's linked below! ([emoji key](https://allcontributors.org/docs/en/emoji-key))

Original project credits go to [Mert Ascioglu](https://github.com/ascolm)

<table>
<tr>
<td align="center"><a href="https://github.com/pamelakaylin"><img src="https://avatars.githubusercontent.com/u/59074533?v=4" width="120px;" alt=""/><br /><sub><b><a href="https://www.linkedin.com/in/pamelakaylin/" title="linkedin">Pamela Chen</a></b></sub></a><br /><a href="code-pamela" title="Code">💻</a> <a href="#test-pamela" title="Tests">⚠️</a> <a href="#main-pamela" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/geroalexander"><img src="https://avatars.githubusercontent.com/u/59166685?v=4" width="120px;" alt=""/><br /><sub><b><a href="https://www.linkedin.com/in/gero-kassing-9b79311a3/" title="linkedin">Gero Kassing</a></b></sub></a><br /><a href="code-gero" title="Code">💻</a> <a href="#test-gero" title="Tests">⚠️</a> <a href="#main-gero" title="Maintenance">🚧</a></td>
</tr>
</table>
5 changes: 5 additions & 0 deletions client/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true
}
138 changes: 123 additions & 15 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
]
},
"devDependencies": {
"@types/react-router-dom": "^5.1.7"
"@types/react-router-dom": "^5.1.7",
"eslint": "^7.22.0",
"eslint-config-airbnb-typescript-prettier": "^4.1.0",
"prettier": "^2.2.1"
}
}
9 changes: 0 additions & 9 deletions client/src/App.test.tsx

This file was deleted.

Loading