Giter Site home page Giter Site logo

sjairlines's Introduction

๐ŸŒ SJ-AIRLINES

SJAirlines : Your best friend for travel, you will have such an interaction to be able to better organize your travels. It uses DB based on Mongo to store its data; its APIs are based on REST paradigm.

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป COMMANDS

  • โ–ถ๏ธ Run npm start start node server.
  • ๐Ÿ“Ÿ Run npm run dev start nodemon server mode dev.
  • ๐Ÿ”จ Run npm run build create build project.
  • โš™๏ธ Run npm test test project.

๐Ÿ”ง HOW IS MADE?

  • Organization of components of Mongoose;
  • API calls at DB;
  • Testing;

โ“HOW IT WORKSโ“

โœˆ๏ธ Airplanes

  • ( C ) POST => localhost:3001/companies/:id/:plane
  • ( R ) GET => localhost:3001/companies/:id/planes
  • ( U ) PUT => localhost:3001/companies/:id/plane/:idAirplane
  • ( D ) DELETE => localhost:3001/companies/:id/plane/:idAirplane

๐Ÿข Companies

  • ( C ) POST => localhost:3001/companies/
  • ( R ) GET => localhost:3001/companies/
  • ( U ) PUT => localhost:3001/companies/:name
  • ( D ) DELETE => localhost:3001/companies/:name

๐Ÿท Tickets

  • ( C ) POST => localhost:3001/tickets/
  • ( R ) GET => localhost:3001/tickets/ ( + :id for filtered get )
  • ( U ) PUT => localhost:3001/tickets/:id
  • ( D ) DELETE => localhost:3001/tickets/:id

๐Ÿ™Ž๐Ÿผโ€โ™‚๏ธ/๐Ÿ™๐Ÿผโ€โ™€๏ธUsers

  • ( C ) POST => localhost:3001/users/
  • ( R ) GET => localhost:3001/users/ ( + {?id or ?username or ?name or ?name} for filtered get )
  • ( U ) PUT => localhost:3001/users/:id
  • ( D ) DELETE => localhost:3001/users/:username

๐Ÿ’ป Developers:

sjairlines's People

Contributors

dandelionsam avatar bazzastyle avatar amatomanuel avatar teoteo11 avatar lionhard83 avatar

Watchers

James Cloos 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.