Skip to content

shashanksingh2002/stripeapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name: Stripe Payment Integration with Subscription Management

Description

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.

Features

  • 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.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Node.js
  • Express.js
  • MongoDB
  • Stripe API

Usage

  1. Visit the live website: Stripe Payment Integration
  2. Sign up or log in to your account.
  3. Browse available subscription plans and choose one.
  4. Enter payment information securely using the Stripe payment gateway.
  5. 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)
  6. After successful payment, you'll be subscribed to the chosen plan.
  7. You can manage your subscription by requesting or canceling it from your account.

Installation

  1. Clone the repository: git clone https://github.com/shashanksingh2002/stripeapi.git
  2. Navigate to the project directory: cd stripeapi
  3. Install dependencies: npm install
  4. Configure your MongoDB database and Stripe API keys in the appropriate files.
  5. Start the server: npm start
  6. Access the application in your web browser: http://localhost:3000

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name
  3. Make your changes and commit them: git commit -m "Add your message"
  4. Push to the branch: git push origin feature-name
  5. Create a pull request detailing your changes.

Credits

  • Developed by shashank singh
  • Stripe API: Stripe
  • MongoDB: MongoDB
  • A special thanks to RichPanel Team for creating such wonderful assignments

License

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.

Visit Project Repository

Live Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published