Skip to content

๐Ÿฅ๐Ÿ›’ A marketplace for your music. Sell beats online.

Notifications You must be signed in to change notification settings

KevinLu/beatstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Languages