Single page application
git clone [email protected]:konstantindergachev/clothes-app.git
yarn install -i or npm install
cd client
yarn install -i or npm install
client/public
and favicon directory
client/public/img/favicon
For example, you need to create firebase-config.js file in src/config dir:
export const firebaseConfig = {
config: {
apiKey: '******************************************',
authDomain: '******************************************',
databaseURL: '******************************************',
projectId: '******************************************',
storageBucket: '******************************************',
messagingSenderId: '******************************************',
appId: '******************************************',
measurementId: '******************************************',
},
};
1. Sign up/Sign in on the stripe platform
2. Get the publishable_key and stripe_secret_key
3. You need to create stripe config file for client side
For example, you need to create stripe.js file in src/config dir:
export const clientConfig = {
publishableKey: '******************************************',
};
4. Go to the root of project
cd ..
5. You need to create stripe config file for server side
For example, I use .env file in root dir of project:
STRIPE_SECRET_KEY=******************************************
yarn run dev or npm run dev
Konstantin Dergachev portfolio