Demo https://bikehub.me/
Watch Video Website Demo
Watch Portfolio Project Presentation Video
Welcome to BikeHub, your premier bike rental platform designed for enthusiasts, commuters, and tourists seeking the ultimate cycling experience. Whether you're embarking on an adventure, commuting to work, or exploring a new city, BikeHub is here to elevate your journey.
BikeHub offers a seamless and user-friendly platform that allows you to rent the perfect bike for your needs. This README serves as your guide, offering insights into our talented team, cutting-edge technologies, API endpoints, and how you can contribute to making BikeHub even better.
-
Enthusiast-Focused: Tailored for bike enthusiasts who appreciate quality and diversity in their rides.
-
Commute with Ease: Ideal for daily commuters, providing a reliable and convenient solution for urban transportation.
-
Tourist-Friendly: Explore new cities on two wheels, unlocking the freedom to discover hidden gems at your own pace.
Dive into the heart of BikeHub by exploring our team, the technologies powering our platform, key API endpoints, and guidelines for contributing. Your journey begins here, with BikeHub as your trusted companion.
ITRI M'BARKI (Full-Stack Developer)
Role: Full-Stack Developer focus on BACKEND
Contribution:
- Setup of the initial project files, laying the foundation for development.
- Backend development using Nest.js, Prisma, and PostgreSQL.
- Implementation of API functionalities, including authentication.
- Creation of data models and database architecture.
- Design and creation of the admin panel with CRUD functionality.
- Implementation of charts and statistics for data visualization.
- Full-stack development covering both frontend and backend aspects.
El Gharbi Ayoub (Full-Stack Developer)
Role: Full-Stack Developer focus on FRONTEND
Contribution:
- Design and creation of an engaging landing page.
- Development of the user profile and dashboard, prioritizing user experience.
- Implementation of profile settings for enhanced user customization.
- Utilized React.js with Chakra-UI for the frontend.
- Contributed to the overall design and visual appeal of the platform.
- Collaborative work in creating a cohesive and integrated system.
- Responsible for the UI/UX design, ensuring an optimal user experience.
- Created the logo, selected colors, and designed all pages.
- Contributed to the API and backend design.
- Contributed to the data model and database architecture.
Mounssif nuuX BOUHLAOUI (DevOps/Full-Stack Developer)
Role: DevOps/Full-Stack Developer focus on DEVOPS
Contribution:
- Repository management.
- Setup and configuration of dev/prod servers using PM2/NGINX.
- Implementation of CI/CD using GitHub Actions.
- Domain/SSL setup and management.
- Integration of PayPal as payment processing.
- Implementation of Google authentication for login and registration.
- Implementation of Email notification features.
- Creation and design of the booking and payment process.
- Implementation of QR code generation for rentals.
- Development of various API endpoints.
- Data model updates.
- React.js: A JavaScript library for building user interfaces.
- Chakra-UI: A simple, modular, and accessible component library for React.
- Axios: A promise-based HTTP client for the browser and Node.js.
- Swiper: A modern touch slider used for creating interactive and responsive carousels.
- Vite.js with TypeScript: A fast, opinionated frontend build tool.
- React-QR-CODE: Library for generating QR codes in React applications.
- Nest.js with TypeScript: A powerful and scalable Node.js framework for building server-side applications.
- Prisma: A modern database toolkit for TypeScript and Node.js.
- PostgreSQL: An open-source relational database management system.
- Swagger: A tool for designing, building, documenting, and consuming RESTful web services.
- Nodemailer: A module for Node.js applications to send emails.
- JWT & Passport: Libraries for authentication and authorization in Node.js applications.
- Google OAuth: Integration for authentication using Google accounts.
- PayPal API: A payment gateway for online transactions.
- PM2: A process manager for Node.js applications.
- DATADOG: Monitoring and analytics platform for comprehensive observability.
- 2 Servers (prod and dev): Deployed on Google Cloud and DigitalOcean.
- CI/CD with GitHub Actions: Automated workflows for continuous integration and continuous deployment.
- Google Cloud Monitoring: Monitoring solutions for applications hosted on Google Cloud.
- DigitalOcean Monitoring: Monitoring tools for applications hosted on DigitalOcean.
- PM2 MONITOR: Monitoring capabilities provided by PM2.
- DATADOG: Centralized monitoring and analytics for applications.
- GIT: Distributed version control system.
- GITHUB: Web-based platform for version control and collaboration.
- LINUX: Operating system.
- NGINX: Web server and reverse proxy server.
- GitHub Actions: Automated workflows for CI/CD.
- Google Cloud: Cloud computing services for hosting applications.
- DigitalOcean: Cloud infrastructure provider.
- Namecheap: Domain registration and management.
This technology stack combines powerful frameworks, libraries, and services to build a robust and scalable application, integrating seamlessly from front-end to back-end and ensuring efficient deployment and monitoring.
Follow these steps to set up BikeHub locally on your machine:
-
Clone the Repository:
- Open your terminal and run:
git clone https://github.com/nuuxcode/BikeHub.git ~/BikeHub/
- Open your terminal and run:
-
Install Dependencies:
- Navigate to the project directory:
cd ~/BikeHub/ && npm install && yarn install
- Navigate to the project directory:
-
Build Frontend:
- Move to the frontend directory and start the build process:
cd ~/BikeHub/frontend && npm run build
- Move to the frontend directory and start the build process:
-
Serve Frontend:
- Use a server to serve the frontend on port 3000:
serve -l 3000 -s ~/BikeHub/frontend/dist
- Use a server to serve the frontend on port 3000:
-
Configure API Environment:
- Update the API configuration by copying the example environment file:
cd ~/BikeHub/api && cp .env.example .env
- Update the API configuration by copying the example environment file:
-
Build API:
- Build the API using:
cd ~/BikeHub/api && yarn build
- Build the API using:
-
Build Admin Panel:
- Move to the admin directory and start the build process:
cd ~/BikeHub/admin && yarn build
- Move to the admin directory and start the build process:
-
Serve Admin Panel:
- Use a server to serve the admin panel on port 3002:
serve -l 3002 -s ~/BikeHub/admin/build
- Use a server to serve the admin panel on port 3002:
Now, BikeHub is set up locally, and you can access the frontend at https://localhost:3000 and the admin panel at https://localhost:3002.
Welcome to BikeHub! Here's a step-by-step guide on how you can make the most of our bike rental platform:
-
Sign Up:
- Create your account by signing up on our platform. Simply provide the required details and set up your personal profile.
-
Choose Your Bike:
- Browse through our diverse collection of bikes. Whether you're into electric rides or classic cruisers, pick the bike that suits your style and preferences.
-
Select Location:
- Choose your desired location for bike pick-up. Our network of hubs is strategically placed for your convenience.
-
Set Start and End Time:
- Specify the duration of your ride by setting the start and end times. Enjoy the flexibility to tailor your bike rental to fit your schedule.
-
Process Payment:
- Complete the seamless payment process to secure your bike rental. We support secure online payments to make your transaction hassle-free.
-
Generate QR Code:
- Once your payment is confirmed, generate a unique QR code that contains all the details of your rental. This code will be your key to unlocking your chosen bike.
-
Unlock Your Bike:
- Head to the selected location with your QR code in hand. Our bikes are equipped with a device that reads the QR code, allowing you to effortlessly unlock and begin your journey.
-
Enjoy Your Ride:
- Hit the road and enjoy the freedom of two-wheel exploration. Cruise through the city or embark on an adventure—BikeHub is your companion for a memorable ride.
-
Return Your Bike:
- Once your ride is complete, return the bike to any BikeHub location. Ensure the bike is securely locked, and your rental will be concluded.
-
Extend or Cancel Anytime:
- Need more time or had a change of plans? Extend your rental duration or cancel easily through the platform.
Experience the joy of cycling with BikeHub—your journey, your bike, your freedom!
We welcome contributions from the community to make BikeHub even better! Here's how you can get involved:
-
Fork the Repository:
- Start by forking the BikeHub repository to your GitHub account.
-
Clone Your Fork:
- Clone the forked repository to your local machine using:
git clone https://github.com/nuuxcode/BikeHub.git
- Clone the forked repository to your local machine using:
-
Create a Branch:
- Create a new branch for your contribution:
git checkout -b feature/your-feature
- Create a new branch for your contribution:
-
Make Your Changes:
- Implement bug fixes, new features, or improvements. Ensure your code follows our coding standards.
-
Commit Your Changes:
- Commit your changes with descriptive commit messages:
git commit -m "Description of your changes"
- Commit your changes with descriptive commit messages:
-
Push to Your Fork:
- Push your changes to your forked repository:
git push origin feature/your-feature
- Push your changes to your forked repository:
-
Submit a Pull Request:
- Open a pull request on the BikeHub repository. Clearly describe your changes, including any relevant context or issues.
-
Review and Merge:
- Our team will review your contribution. Once approved, we'll merge your changes into the main branch.
Thank you for contributing to BikeHub! Your efforts help create an even better biking experience for our users.
Feel free to reach out if you have any questions or need assistance during the contribution process.
Explore more bike rental projects that might interest you:
-
DuaneDave/Bike-rental: A versatile bike rental system with a focus on user-friendly features.
-
youssefsharief/bikes-rental: A comprehensive solution for bike enthusiasts, offering a variety of rental options.
-
gurupratap-matharu/Bike-Rental-System: An innovative bike rental system designed for seamless user experiences.
-
sabbir-hossain-abir/Bike-Rental-System: A reliable and scalable bike rental platform with robust features.
-
rugarcialopez/bike-rentals: A modern approach to bike rentals, focusing on performance and user satisfaction.
-
babroval/bike-rent: An open-source bike rental solution, perfect for customization and integration.
Feel free to explore these projects and discover different approaches to bike rental systems. If you have a project to add, please submit a pull request!
BikeHub is distributed under the terms of the MIT License, making it free to use, modify, and distribute. This permissive open-source license allows you the flexibility to adapt our project to your needs while promoting collaboration within the community.
We encourage developers, enthusiasts, and contributors to explore, enhance, and share BikeHub, fostering a spirit of innovation and inclusivity.
For more details, please refer to the MIT License.
site deployed at : BikeHub