Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Server Configuration
PORT=5000
NODE_ENV=development

# Database Configuration
DB_PATH=./data/music.db

# CORS Configuration
CORS_ORIGIN=http://localhost:5000
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
env: {
node: true,
es2021: true,
jest: true
},
extends: [
'eslint:recommended'
],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
rules: {
'indent': ['error', 2],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'no-unused-vars': ['warn'],
'no-console': ['warn'],
'prefer-const': ['error'],
'no-var': ['error']
}
};
48 changes: 48 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Environment variables
.env
.env.local
.env.production

# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Database
*.db
data/

# Logs
logs/
*.log

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
.nyc_output/

# IDE and Editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Temporary files
tmp/
temp/
Binary file removed SQlitess.png
Binary file not shown.
137 changes: 0 additions & 137 deletions _tests_/Unit/songController.test.js

This file was deleted.

64 changes: 0 additions & 64 deletions _tests_/api/apiEndpoints.test.js

This file was deleted.

52 changes: 0 additions & 52 deletions _tests_/integration/api.test.js

This file was deleted.

Binary file removed appss.png
Binary file not shown.
Binary file removed appss2.png
Binary file not shown.
Binary file removed controllers/music.db
Binary file not shown.
35 changes: 0 additions & 35 deletions controllers/songController.js

This file was deleted.

Loading