Traveller is a state tourism website that offers comprehensive travel services, including guide services and hotel bookings. It provides an interactive platform for users to explore different states, plan their trips, and make secure payments through the integrated Razorpay payment system.
- Navegue e selecione pacotes turísticos estaduais
- Veja informações detalhadas sobre cada estado, incluindo destinos e atividades turísticas populares
- Reserve guias para experiências de viagem personalizadas
- Pesquise e reserve hotéis em vários locais
- Sistema de pagamento Razorpay integrado para transações online seguras e convenientes
- Hashing de senha com token JWT: As senhas dos usuários são criptografadas com segurança usando a tecnologia JWT (JSON Web Token), garantindo que informações confidenciais sejam protegidas.
- Browse and select state tourism packages
- View detailed information about each state, including popular tourist destinations and activities
- Book guides for personalized travel experiences
- Search and book hotels in various locations
- Integrated Razorpay payment system for secure and convenient online transactions
- Password Hashing with JWT Token: User passwords are securely hashed using JWT (JSON Web Token) technology, ensuring that sensitive information is protected.
-
MERN Stack (MongoDB, Express.js, React, Node.js): The project is built using the MERN stack, which combines MongoDB as the database, Express.js as the backend framework, React for the frontend, and Node.js for server-side scripting. This powerful combination allows for efficient development, scalability, and real-time data handling.
-
Tailwind CSS: The website's UI is designed using Tailwind CSS, a utility-first CSS framework. Tailwind CSS provides a set of pre-designed utility classes that make it easy to create responsive and visually appealing user interfaces.
-
JavaScript: The project utilizes JavaScript as the primary programming language for both frontend and backend development. JavaScript provides the necessary functionality for interactivity, data manipulation, and asynchronous operations.
-
Razorpay API: The website integrates the Razorpay payment system using the Razorpay API. Razorpay is a popular payment gateway in India, providing secure and reliable payment processing for online transactions.
- Clone the repository:
git clone https://github.com/your-username/traveller.git
- Navigate to the project directory:
cd traveller
- Install the dependencies:
npm install
- Create a
.env
file in the root directory - Define the following variables in the
.env
file:company_SECRET_KEY = "companysidesecreatkeyknownonlytome" PORT = 8000 RAZOR_Pay_KEY_ID = 'rzp_test_SzELy6av5lQSyI' RAZOR_Pay_SECRET_KEY = 'qsXKVIwtYwuJOeRIUKyWXSow'
user_SECRET_KEY = "justsomesercetknowntonooneexceptme"
```
-
Start the frontend server:
cd frontend
npm run dev
-
Start the backend server :
cd backend
nodemon server.js
-
Open your browser and visit:
http://localhost:5173
Contributions are welcome! If you'd like to contribute to Traveller, please follow these steps:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add your feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request
Please make sure to follow the code of conduct while contributing.
This project is licensed under the MIT License.