Giter Club home page Giter Club logo

nc-project-backend's Introduction

nc-project-backend

Backend for the NorthCoders final project

API

https://site-seeing.herokuapp.com/api

Users

Endpoint

https://site-seeing.herokuapp.com/api/users

GET | Select users | Accepted queries:

  • name
  • email
  • sort_by=
    • user_id
    • name
    • email
  • order=
    • asc
    • desc

GET | Select user | Required parameter:

POST | Add new user | Required body properties:

  • password
  • name
  • email
  • photo_uri

DELETE | Remove user | Required parameter:

Sites

Endpoint

https://site-seeing.herokuapp.com/api/sites

GET | Select sites | Accepted queries:

  • site_name
  • min_latitude
  • min_longitude
  • min_altitude
  • max_latitude
  • max_longitude
  • max_altitude
  • sort_by=
    • site_id
    • site_name
    • latitude_min
    • longitude_min
    • altitude_min
    • latitude_max
    • longitude_max
    • altitude_max
  • order=
    • asc
    • desc

GET | Select site | Required parameter:

POST | Add new site | Required body properties:

  • site_name
  • latitude_min
  • longitude_min
  • altitude_min
  • latitude_max
  • longitude_max
  • altitude_max

DELETE | Remove site | Required parameter:

Pins

Endpoint

https://site-seeing.herokuapp.com/api/pins

GET | Select pins | Accepted queries:

<<<<<<< HEAD <<<<<<< HEAD

  • username

dev ======= 618ee13c6288c857713ac6efca03b107a415de12

  • email
  • site_name
  • min_date
  • max_date
  • min_latitude
  • max_latitude
  • min_longitude
  • max_longitude
  • min_altitude
  • max_altitude
  • sort_by=
    • pin_id
    • timestamp
    • latitude
    • longitude
    • altitude
    • creator
    • email
    • site_name
  • order=
    • asc
    • desc

GET | Select pin | Required parameter:

POST | Add new pin | Required body properties:

  • user_id
  • site_id
  • timestamp
  • latitude
  • longitude
  • altitude
  • photo_uri
  • note

DELETE | Remove pin | Required parameter:

nc-project-backend's People

Contributors

bencrick avatar dependabot[bot] avatar fbrebner avatar jakub-l avatar

Watchers

 avatar

nc-project-backend's Issues

Firebase authentication with Azure

Set up Firebase storage to require authentication with Azure. Firebase should be set up to require authentication to submit/retrieve images

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.