okteto / movies Goto Github PK
View Code? Open in Web Editor NEWReact + Node multi service application
License: Apache License 2.0
React + Node multi service application
License: Apache License 2.0
When we deploy this app in cloud, we show https://movies-namespace.user.dev.okteto.net/api which is not a valid endpoint of the api. We should modify this endpoint with some config or accept it in the express api in server.js
. The latter would look something like this:
app.get("/api", (req, res, next) => {
res.json("api is up and running")
return;
});
Or a redirect to /api/healthz
Currently the file sync is being done to the container folder /usr/src/app
, but the image built starts in /src
and has the installed npm dependencies.
I tried to solve the issue by reassigning the WORKDIR
in the Dockerfile, but apparently the image pushed to docker hub is not built from that Dockerfile
command: yarn start
from the okteto.yml manifestYou should see you are standing in /src
and your file syncing is not done there.
@pchico83 The description doesn't match the image. The service rentals
is not there. What should we be changing here to match, the image or the name on the description and folder?
Irrespective where I run the deploy, it fails due to missing secret key.
Release "mongodb" does not exist. Installing it now.!
Error: execution error at (mongodb/templates/secrets.yaml:33:24):!
PASSWORDS ERROR: The secret "mongodb" does not contain the key "mongodb-passwords"!error executing command 'Deploy MongoDB':
exit status 1
This is the application used for the How to Develop an Application based on Microservices tutorial.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.