An Express server implementation
You can 🎥 watch a video to see how this server was implemented and read the transcripts.
- Node v10+
- Configured .env file
- Confirm
.env
configuration
Ensure the API keys are configured in .env
in this directory. It should include the following keys:
# Stripe API keys - see https://stripe.com/docs/development/quickstart#api-keys
STRIPE_PUBLISHABLE_KEY=pk_test...
STRIPE_SECRET_KEY=sk_test...
# Path to front-end implementation. Note: PHP has it's own front end implementation.
STATIC_DIR=../../client/html
- Install dependencies and start the server
npm install
npm start
- The react frontend will be running on
localhost:4242
. Follow the instructions in the README there to install and start the frontend server.