R-Bus API Development (2023)

R-Bus API Development (2023)

Backend Development Overview

I worked on the R-Bus backend as a junior developer for about 4 months under the senior dev John W. Fail.

Please read more about the whole project from here. I also worked a lot on the project management and on communications. Do check out the website as well, the link is here.

Tech Stack

The backend for the R-Bus website was built using:

  • NestJS (NodeJS Framework)
  • TypeScript
  • MySQL with Prisma ORM for database interaction
  • Passport/JWT for authentication
  • Jest for end-to-end testing

These technologies were selected for their robustness and scalability, critical for managing the real-time audience engagement features of the platform.

Core Contributions

  1. Authentication
    • Designed and implemented user authentication using Passport and JWT bearer tokens.
    • Configured strategies for access and refresh tokens, ensuring secure and seamless user sessions.
    • Worked a lot authentication, including integrating JWT strategies, refresh token logic, and environment-specific configurations.
  2. Database Modeling
    • Developed the initial relational database schema using Prisma ORM, focusing on user management and content structuring.
    • Designed models establishing relationships and ensuring data integrity.
    • Later enhancements included tables for dynamic features like real-time bus tracking and schedules.
  3. Testing and Quality Assurance
    • Wrote end-to-end tests using Jest, focusing on authentication flows.
  4. Version Control
    • Ensured code reliability and maintained GitHub as the primary development environment for version control and collaboration.
  5. Page Management System
    • Implemented a simple page schema and corresponding controller and service, enabling dynamic content updates on the platform.