This project is a web application that enables users to easily make payments using the Stripe API and manage their subscriptions. Users can sign up, log in, choose from a variety of subscription plans (monthly and yearly), and perform payment transactions securely. The project ensures password security by hashing and securely storing user credentials in a MongoDB database hosted on the cloud.
- User Authentication: Secure sign-up and login functionality with hashed password storage.
- Subscription Selection: Users can choose from available monthly and yearly subscription plans.
- Payment Integration: Seamless integration with the Stripe API for secure payment processing.
- Subscription Management: Users can request or cancel their subscriptions after subscribing.
- Cloud Database: MongoDB is used to store user information and subscription data on the cloud.
- User-Friendly Interface: Intuitive and responsive UI design using HTML, CSS, and JavaScript.
- Scalable Backend: Built on Node.js and Express.js to handle server-side logic efficiently.
- HTML
- CSS
- JavaScript
- Node.js
- Express.js
- MongoDB
- Stripe API
- Visit the live website: Stripe Payment Integration
- Sign up or log in to your account.
- Browse available subscription plans and choose one.
- Enter payment information securely using the Stripe payment gateway.
-
For Testing: You can use the following dummy card details for payment:
- Card Number: 4242 4242 4242 4242
- CVV: Any 3-digit number
- Name: Dummy Name
- Email: dummy@example.com
- Expiry: Any future month/year (after today's date)
- After successful payment, you'll be subscribed to the chosen plan.
- You can manage your subscription by requesting or canceling it from your account.
- Clone the repository:
git clone https://github.com/shashanksingh2002/stripeapi.git - Navigate to the project directory:
cd stripeapi - Install dependencies:
npm install - Configure your MongoDB database and Stripe API keys in the appropriate files.
- Start the server:
npm start - Access the application in your web browser:
http://localhost:3000
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name - Make your changes and commit them:
git commit -m "Add your message" - Push to the branch:
git push origin feature-name - Create a pull request detailing your changes.
- Developed by shashank singh
- Stripe API: Stripe
- MongoDB: MongoDB
- A special thanks to RichPanel Team for creating such wonderful assignments
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or inquiries, please contact your@email.com. Thank you for using our Stripe Payment Integration project! We hope you find it useful and user-friendly.