Welcome to the BkTicketing backend! This project is powered by Spring Boot and MongoDB, providing a robust API for event ticket booking.
- RESTful API: Efficient communication with the frontend.
- User Authentication: JWT-based authentication.
- Event & Ticket Management: CRUD operations for events and reservations.
- Secure Payments: Stripe integration for handling transactions.
- Email Notifications: JavaMailSender for automated emails.
- Scalable Database: MongoDB Atlas for cloud storage.
- Spring Boot - Backend framework (Spring Docs)
- MongoDB - NoSQL database (MongoDB Docs)
- Spring Data MongoDB - ORM for MongoDB
- JWT (JSON Web Token) - Authentication (JWT Docs)
- Stripe - Payment gateway (Stripe Docs)
- JavaMailSender - Email service
- Java 17+ (Download)
- MongoDB (MongoDB Atlas)
- Maven (Download)
- Clone the repository:
git clone https://github.com/yourusername/bkticketing-backend.git
- Go to file
cd bkticketing-backend - Configure application.properties for smtp, mongodb and image/file uploads
server.port=8080 spring.data.mongodb.uri=mongodb+srv://username:password@cluster.mongodb.net/dbname jwt.secret=your_jwt_secret stripe.apiKey=your_stripe_secret_key mail.host=smtp.gmail.com mail.username=your_email@gmail.com mail.password=your_email_password
- Run the application
mvn spring-boot:run