Code Monkey home page Code Monkey logo

train-ticket-app's Introduction

Train-Ticket-App

Assignment

Requirements:

1.Code must be published in Github with a link we can access (use public repo). 2.Code must compile with some effort on unit tests, doesn’t have to be 100%, but it shouldn’t be 0%. 3.Here is the application we want to build for the interview 4.Please code this with Golang and gRPC 5.Adding a persistence layer will be cumbersome, so just store the data in your current session/in memory. 6.The results can be in the console output

App to be coded

Background: All API referenced are gRPC APIs, not REST ones. I want to board a train from London to France. The train ticket will cost $20.
1.Create API where you can submit a purchase for a ticket. Details included in the receipt are: a.From, To, User , price paid. i.User should include first and last name, email address 2.The user is allocated a seat in the train. Assume the train has only 2 sections, section A and section B. 3.An API that shows the details of the receipt for the user 4.An API that lets you view the users and seat they are allocated by the requested section 5.An API to remove a user from the train 6.An API to modify a user’s seat

train-ticket-app's People

Contributors

prabhjout avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.