Giter Site home page Giter Site logo

kanwalnainsingh / polling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okteto/polling

0.0 1.0 0.0 910 KB

A sample app with React + Java API + MySQL

License: Apache License 2.0

Dockerfile 1.38% Java 48.85% JavaScript 42.69% HTML 1.22% CSS 5.81% Shell 0.06%

polling's Introduction

Polling App: React + Java Spring Boot (Maven) + MySQL

This example shows how to leverage Okteto to develop a React + Java Spring Boot (Maven) + MySQL Sample App directly on Okteto Cloud. The Sample App is deployed using a kustomize. It creates the following components:

  • A React based frontend.
  • A Java Spring Boot api.
  • A MySQL database.

Preview

App Screenshot

Tutorial

  • Deploy the Polling App on your personal namespace by clicking on the following button:

Develop on Okteto

  • To develop on the frontend component:
    $ okteto up -f frontend/okteto.yml
      ✓  Development container activated
      ✓  Files synchronized
         Namespace: githubid
         Name:      frontend
         Forward:   9229 -> 9229
                    8080 -> 80

    Welcome to your development environment. Happy coding!
    githubid:frontend okteto> yarn install
    githubid:frontend okteto> yarn start
  • To develop on the api component:
    $ okteto up -f api/okteto.yml
      ✓  Development container activated
      ✓  Files synchronized
         Namespace: githubid
         Name:      api
         Forward:   5005 -> 5005
                    8080 -> 8080

    Welcome to your development environment. Happy coding!
    githubid:api okteto> mvn spring-boot:run

polling's People

Contributors

pchico83 avatar rberrelleza avatar rlamana avatar

Watchers

 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.