Coder Social home page Coder Social logo

journey-api's Introduction

GitHub Actions Workflow Status Quality Gate Status Coverage Release Documentation Docker Badge

Journey Rest API


This is a Java based Backend For Frontend(BFF) service which is built with Spring Framework. The service is designed mainly to handle requests from frontend Journeys Single Page Application(SPA).

The Service use MongoDB Atlas to persist data.

Since application uses geographical information, data is being stored in GeoJSON format with help of library Commons GeoJson.

Helpful Links

Getting Started

Please find below steps to setup and run application in your workstation.

Prerequisites

The service uses MongoDB for persistence. For Local development, Local MongoDB instance created with help of Docker CLI. So make sure you have installed Docker CLI or any other docker container tool.

Installation

  1. Download Repository
    git clone https://github.com/nramc/journey-api.git 
  2. Run Application with spring profile dev
    mvn spring-boot:run -Dspring-boot.run.profiles=dev
  3. Local MongoDB can be accessed in http://localhost:9090/ with help of Mongo Express
  4. To test REST resource, use IntelJ Http Client scripts available in src/test/resources/http-scripts/ directory.

Contributing

Any contributions you make are greatly appreciated.

If you like the project and have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: Add the AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Release new version

  1. Manually run Prepare Release Workflow with release version "MAJOR.MINOR.PATCH" e.g. 0.0.1
  2. The Workflow flow creates a new tag with provided release version vMAJOR.MINOR.PATCH e.g. v0.0.1
  3. The Workflow creates Release as well with release notes and make the release as latest
  4. As soon as new Release created, which triggers Release Workflow with release event
  5. The Release workflow build & test project after checkout
  6. When build successful, creates Docker image and publish it to Docker Hub
  7. Finally triggers Render webhook for deployment

Contact

Ramachandran Nellaiyappan Website | Twitter | E-Mail

Credits

Sincere Thanks to following open source community for their wonderful efforts to make our life much easier.

Show your support

Give a ⭐️ if you like this project!

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.