Skip to content

rberrelleza/polling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 application is deployed using Okteto Stacks. 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

About

A sample app with React + Java API + MySQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 48.8%
  • JavaScript 42.7%
  • CSS 5.8%
  • Dockerfile 1.4%
  • HTML 1.2%
  • Shell 0.1%