SaraAgnestrand / e-commerce_project

Examination project
0 stars 0 forks source link

LightGallery

Examination project- E-commerce store specializing in lighting products.

Requirements that I have fulfilled:

Run project by typing:

In the terminal

$ cd server
$ npm install
$ nodemon src/server.js

In a new terminal

$ cd client
$ npm install
$ npm run dev

To be able to test drive Stripe CLI webhook events, the Stripe CLI should be installed. Link: https://stripe.com/docs/stripe-cli#next-steps

After installing open a terminal

$ cd <your Stripe CLI path>
$ stripe login
To forward events to your local endpoint, run the following command with the the CLI to set up a local listener.
$ stripe listen --forward-to localhost:3000/webhook
Additional information about the project: