Skip to content

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

Notifications You must be signed in to change notification settings

KevinLu/beatstore

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date
Apr 22, 2021
Dec 5, 2022
Dec 24, 2020
Apr 24, 2020
Dec 24, 2020
May 4, 2020
Apr 26, 2020
May 11, 2022
Jun 24, 2021
Feb 15, 2021

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