Skip to content

okteto/movies-api

Repository files navigation

Movies API

This example shows how to leverage Okteto to develop the Movies App in Okteto.

The Movies App is composed by the following components:

  • A very simple Node.js API using Express. Deployed using a Helm Chart.
  • A MongoDB database. Deployed using a public Helm Chart
  • A frontend in React, defined in a different Github Repository.

Develop

Execute the following command to activate your development container:

$ okteto up
 ✓  Development container activated
 ✓  Files synchronized
    Namespace: cindy
    Name:      web
    Forward:   9229 -> 9229
               27017 -> mongodb:27017

Welcome to your development container. Happy coding!
cindy:api src>

Run the app by executing the following command:

cindy:api src> yarn start

Start the app in debug mode by executing the following command:

cindy:api src> yarn debug