Giter VIP home page Giter VIP logo

prorata-api-deprecated's Introduction

ProRata-API

This project currently serves as a template spring API, build with gradle, with the following properties:

  • Building with Circle CI (see circle.yml).
  • Deployment with Heroku (see Procfile).

It can be forked and refactored for use as the basis of other projects.

Developer Setup

This is a quickstart guide to help you get up and running with development of the ProRata-API.

Prerequisites

You will need to have set up the ProRata-Database, which currently uses PostgreSQL 9.4.

  • I recommend using IntelliJ IDEA for development.
  • Import the project into IDEA, and you should be ready to go!

IntelliJ IDEA database connection

One of the benefits of IntelliJ IDEA is easy database management from the IDE. This can be achieved in the following way:

  1. Select View > Tool Windows > Databases. This will pin the Databases tool window to the right hand side of the IDE main screen.
  2. In the tool window, selet New (green plus symbol) > Data Source > PostgreSQL.
  3. Connect to your local development database using your local ProRata database credentials. For example, the following may be used (although please be secure with your local database credentials):
  • Host: localhost
  • Database: ProRata
  • User: postgres
  • Password: postgres
  • URL: jdbc:postgresql://localhost:5432/postgres
  1. Ensure that you have downloaded the PostgreSQL driver JAR for use with IntelliJ IDEA. This can be achieved from within the same new database connection window, by clicking the "PostgreSQL" link, and in the new dialogue clicking the "Download" button under the "Driver files" section.
  2. It's a good idea to test your connection before saving the new connection. This can be done in the credentials dialogue by using the "Test Connection" button.

Deployment

Currently, all that is needed to deploy to Heroku is to push to master! Github will push new commits out to CircleCI, which will push successful builds to Heroku.

Naturally, you will need log-in information for these sites. Please contact the project lead, Daniel Pawsey, at [email protected] for these.

prorata-api-deprecated's People

Contributors

vgnbug avatar

Watchers

 avatar  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.