{"repo":"ninadnaik10/railway-booking-api","free":true,"listed":false,"github":"https://github.com/ninadnaik10/railway-booking-api","clone":"git clone https://github.com/ninadnaik10/railway-booking-api.git","description":"Railway Booking system API","language":"TypeScript","stars":22,"topics":["concurrency","nestjs","postgresql","prisma-orm","nestjs-backend"],"license":null,"category":"databases-storage","readme_excerpt":"Railway Booking system API Description This app is a Railway management system like IRCTC where a user can check available trains between any 2 stations. Users can also book the seats if there are seats available in a train. Features 1. User creation 2. Train creation (only allowed to Admins) 3. Booking a seat 4. Proper error handling and status code 5. Only one user can do the booking at a given time Tech Stack Used 1. NestJS : A Node.js framework for building scalable and reliable server-side applications using TypeScript. 2. PostgreSQL : An open source relational database for building complex applications. 3. Prisma ORM : An Object-Relational Mappers (ORM) tool for Node.js application that simplifies database interactions. 4. Postman : A platform for API development. Motivation for using this tech stack As the assignment instructed to use any web server of our choice, I chose NestJS which is Node.js framework that helps to structure the web applications in various modules and give inbuilt functionality for creating API endpoint, database ORM configuration for Prisma and easy access control features. I am using Postgres as the relational database for its flexibility and scalability features. Prisma ORM simplifies database interaction by creating models and directing managing the database connections. Setup 1. Prerequisites - Node.js (v18 or above) - yarn - Git - Postgres (either locally or via Docker) - Bash shell 2. Clone this repository 3. Run yarn to install packages 4. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ninadnaik10","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ninadnaik10/railway-booking-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}