Skip to content

Commit

Permalink
Merge pull request #1 from hwhang0917/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
hwhang0917 authored Feb 9, 2024
2 parents 199daa7 + 75eb208 commit d8cb9ff
Show file tree
Hide file tree
Showing 126 changed files with 5,738 additions and 14,868 deletions.
4 changes: 2 additions & 2 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Get Spotify Client ID and Secret from [here](https://developer.spotify.com/dashboard/applications)
SPOTIFY_CLIENT_ID=clientId
SPOTIFY_SECRET=secret
SPOTIFY_CLIENT_ID=<client-id>
SPOTIFY_SECRET=<secret>
File renamed without changes.
46 changes: 6 additions & 40 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,48 +1,10 @@
# compiled output
/dist
/node_modules

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Dotenv
.env

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand All @@ -62,7 +24,6 @@ lerna-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local
Expand All @@ -74,3 +35,8 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

# Environment
.env

# Configuration
config.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.11.0
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import("prettier").Config} */
const config = {
plugins: ["prettier-plugin-tailwindcss"],
trailingComma: "all",
};

module.exports = config;
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Heesang Whang
Copyright (c) 2024 Heesang Whang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## Requirements

- Node.js ^16.17.0
- Node.js ^20.11.0
- Spotify Premium Account
- GUI Browser

Expand All @@ -27,16 +27,16 @@

3. Go to your [Spotify Dashboard](https://developer.spotify.com/dashboard/applications) and create a new application for this bot.

4. Add `http://localhost:5555/callback` to Redirect URI.
4. Add `http://localhost:3000/callback` to Redirect URI.

5. Copy both the Client ID and Client Secret from your newly created Spotify application.

6. Copy `.env.sample` as `.env` to the root directory of this project.

7. Fill in contents on the `.env` as it is guided.

8. Run server using `yarn start`.
8. Run server using `yarn deploy`.

9. Follow the instructions when browser opens

10. Get your internal private IP address and share `http://${privateIP}:5050` or expose port `5050` to others
10. Get your internal private IP address and share `http://${privateIP}:3000` or expose port `3000` to others
4 changes: 0 additions & 4 deletions api/.dockerignore

This file was deleted.

25 changes: 0 additions & 25 deletions api/.eslintrc.js

This file was deleted.

38 changes: 0 additions & 38 deletions api/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions api/.prettierrc

This file was deleted.

27 changes: 0 additions & 27 deletions api/Dockerfile

This file was deleted.

9 changes: 0 additions & 9 deletions api/nest-cli.json

This file was deleted.

81 changes: 0 additions & 81 deletions api/package.json

This file was deleted.

Loading

0 comments on commit d8cb9ff

Please sign in to comment.