Follow these steps to get started for Node:
- Make sure you have have node by running this following command
node --versionif it gave you an error this means you need to install it from the main website. - Make sure you have git installed by running the following command
git -vif it gave you and error you need to instll if from the main website, then you need to watch a youtube video to set it up correctly. - Then fork this repository by clicking the link: https://github.com/Bashamega/custompaymentflow/fork
- Click the green code button, then coppy the HTTPS link that will appear.
- Open a terminal and paste this command
git clonethen paste the link that you coppeid then hit enter. - Rename the
.env.examplefile to.envthen open it in your vscode, the replace theSTRIPE_PUBLISHABLE_KEYandSTRIPE_SECRET_KEYvalue with the kays that you have. - Finally open the terminal again and run these commands:
cd server/node # there's a README in this folder with instructions
npm install
npm start
Then start coding but don't close the terminals window since it is running the server. And don't forget to hit the star button on this repository :)