async function user(req, res) {
try {
const user = {
name: "Gustavo O.R",
age: 23,
stacks: [
{
NodeJS: ["ReactJS", "ReactNative", "NestJS", "Express"],
Java: ["Spring", "JSP"],
Kotlin: ["Spring"],
Python: ["Flask", "Django", "Selenium"],
}
],
Databases: ["DB2", "SQL Server", "Amazon RDS", "Amazon Aurora", "PostgreSQL", "MongoDB", "OracleDB"],
Cloud: ["AWS Amazon", "Microsoft Azure"],
};
return res.status(201).json(user);
} catch (error) {
return res.status(500).json({ error: "Internal Error" });
}
}
app.get('/api/user', user);
knmsn / criptography-base64 Goto Github PK
View Code? Open in Web Editor NEWSoftware de criptografia e descriptografia usando base64 em Python3.