Eshop with google login, cart save in session or user, test buy with stripe
Create dev.js in config and add keys as their are prepare in - dev.setThisFromExternalApiKeys
mongoURI - use link to mongoDB database, e.g. from mlab.com
googleClientID - create to set login through google - google API
googleClientSecret - create to set login through google - google API
stripePublishableKey - set to work with stripe payments
stripeSecretKey - set to work with stripe payments
sendGridKey - set to use sendGrid
cloudinaryName - set to upload images straight from angular to cloudinary
cloudinaryKey - set to upload images straight from angular to cloudinary
cloudinarySecret - set to upload images straight from angular to cloudinary
redisUrl: { host: 'localhost', port: 6379 }
Serve redis - host:localhost port:6379
Build and serve
Run npm run ssr
Serve
Run npm run start
Run docker compose up
(will start redis and app)
redisUrl: { host: 'redis-serve', port: 6379 }
-Use test credit card number for stripe for testing the order - 4242 4242 4242 4242