Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ₯πŸ›’ A marketplace for your music. Sell beats online.

Notifications You must be signed in to change notification settings

KevinLu/beatstore

Repository files navigation

beatstore

A marketplace to sell your beats.

Development

Make sure to add dev.js to /server/config/ with your MongoDB URI, AWS Tokens, Stripe Tokens, and JWT secret:

module.exports = {
 mongoURI: '',
 jwtSecret: '',
 stripeSecret: '',
 endpointSecret: '',
 s3SecretAccessKey: '',
 s3AccessKeyId: '',
 s3PublicBucket: '',
 s3PrivateBucket: ''
}

Also, create a file called StripeClient.js in /client/src/components/utils/ with the following contents:

module.exports = {
 stripePublicKey: 'YOUR PUBLIC KEY FROM STRIPE HERE'
}
Property Description
mongoURI MongoDB URI
jwtSecret JWT Secret
stripeSecret Stripe Secret Key
endpointSecret Stripe Webhook Endpoint Secret
s3SecretAccessKey AWS Secret Key (S3 permissions)
s3AccessKeyId AWS Access Key ID (S3 permissions)
s3PublicBucket S3 bucket name for public files
s3PrivateBucket S3 bucket name for private (pay for download) files

Production

Add the same properties as above to your environment variables.

Acknowledgments

About

πŸ₯πŸ›’ A marketplace for your music. Sell beats online.

Resources

Stars

Watchers

Forks

Contributors 2

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /