Coder Social home page Coder Social logo

journey-api's Introduction

  • 👋 Hi, I’m @nramc

  • 👀 I’m interested in Full Stack Web Application Development

  • 🌱 I’m currently learning ReactJS

  • 💞️ I’m looking to collaborate on Full Stack Programming & Development activities.

  • 📫 Yu can reach me on

    Email

    Twitter

    LinkedIn

    Facebook

journey-api's People

Contributors

nramc avatar

Watchers

 avatar

journey-api's Issues

[Feature] Create Data model for Journey object

  1. Define data model for core Journey object
  2. Define suitable geometric class for location
  3. find below minimum data fields required for now.

"id": "id_1", "type": "Feature", "geometry": {"type": "Point", "coordinates": [11.6634, 48.1230]}, "properties": { "name": "München House", "category": "Residential", "city": "Munich", "country": "Germany", "tags": ["Ram", "Sakunthala", "Germany", "Munich"], "description": "Remember that happiness is a way of travel, not a destination.", "thumbnail": "/assets/test-data/img/2022_1.png"

add render deploy webhook

  1. Deploy webhook url has confidential key. so keep it secured.
  2. Update GitHub action to trigger the webhook after successful build for tag

[Feat] Implement get all journeys with basic query params

AC 1: content type - application/json
AC 2: returns all available journeys
AC 3: Support pagination
AC 4: Support sorting

Basic support for query param:

  • "sort" - sorting column name
  • "order" - ASC or DESC
  • "pageIndex" - starts from 0
  • "pageSize" - maximum number of journeys to return in response

[Feat][UX] Coordinates validation and tip to get them for place

Get the coordinates of a place

  1. On your computer, open Google Maps.
  2. Right-click the place or area on the map.
  3. This will open a pop-up window. You can find your latitude and longitude in decimal format at the top.
  4. To copy the coordinates automatically, left click on the latitude and longitude.

Tips:

  1. List your latitude coordinates before longitude coordinates.
  2. Check that the first number in your latitude coordinate is between -90 and 90.
  3. Check that the first number in your longitude coordinate is between -180 and 180.

[Feat] Implement get journey endpoint

AC 1: Implement rest endpoint to get journey data with id
AC 2: in json format if accept type application/json
AC 3: throw error if id not exists
AC 4: connect to db and fetch data

[Feat] Implement update feature for Journey

AC 1: Implement update feature http method PATCH
AC 2: Reusable to update partial data
AC 3: Define data types can be updated independently
AC 4: validation implemented
Ac 5: stored in DB

[Feat] store new Journey entry

  1. define Journey entity based on json attached
  2. Define REST endpoint to store journey with Request and response DTO
  3. Define entity
  4. Store the entity in Database

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.