Laravel and react stripe payment integration with free trial featue
Here's why:
- You can implement stripe with laravel
- Integrate with frontend
This is an example of how to list things you need to use the software and how to install them.
-
npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
-
Get a free API Key at https://example.com
-
Clone the repo
git clonehttps://github.com/AnwarHossainSR/laravel_payments_yt.git
-
For React
cd client
yarn install or npm install
yarn run dev
Go to http://localhost:3000
-
For API
cd api
composer install
cp .env.example .env or copy .env.example .env
php artisan key:generate
set your database name and credential in .env file
create an account on stripe add add stripe sceret key in .env file
php artisan migrate:fresh --seed
php artisan serve
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Your Name - @mahedianwar - mahedianwar@gmail.com
Project Link: https://github.com/your_username/repo_name