Giter Club home page Giter Club logo

bootcamp-just-cinemas-api's Introduction

#Explanation

https://medium.com/@readsethu/jooq-flyway-spring-boot-and-gradle-44a8d3f289#.noa8xg74v

Just Cinemas API

To build locally run
./gradlew clean build

To run unit test locally
./gradlew clean test

To start up the project locally on a separate terminal run docker-compose -f docker-dev-db/docker-compose.yml up
Once the postgres instance is running run
./gradlew bootRun

Follow the below steps to deploy it

  1. Fork the repository
  2. Add your team members as collaborators to the forked repo.
  3. You will need to make changes to the pipeline.gocd.yml to rename everywhere team1 is to team2, etc. depending on which team you are on.
    1. Change all places where team1 appears to your team name.
    2. Change the git url to the forked git hub url.
    3. Change the deploy job script - sh buildAndDeploy/deploy/deploy.sh team1 sethu-origin-key-pair to buildAndDeploy/deploy/deploy.sh <your team name> <your ssh key name>. You need to create an ssh key pair under AWS EC2 in the aws console. You need to do this to log on to the EC2 box in case you need to debug something. Create and save it locally. You can use the same SSH key created for the gocd box here as well.
  4. Then follow the instruction on the https://github.com/Sethuraman/bootcamp-gocdinfra to complete the deployment
  5. You can test your API deployment by running the below command curl <your deployed ip address>/movies/now-showing If this print out json then your deployment has worked. Be aware, that the curl endpoint might take a while before it works. Track the API deployment via the cloudformation console.
  6. Get the IP address of the EC2 box created to host your API and provide update in the build stage of the UI project build. You can test

bootcamp-just-cinemas-api's People

Contributors

akshay-jha avatar sethutw 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.