greenleaf02
greenleaf02
KPCKevin Powell - Community
Created by greenleaf02 on 8/14/2024 in #back-end
any advise on web hosting
So how do commercial people use Mongo?
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 8/14/2024 in #back-end
any advise on web hosting
Thank you so much for all the advice guys🀝Really appreciate it
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/26/2024 in #back-end
trouble using express.js
.
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/26/2024 in #back-end
trouble using express.js
{
"name": "jolly-genius",
"version": "1.0.0",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js"

},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"express": "^4.19.2",
"nodemailer": "^6.9.13"
}
}
{
"name": "jolly-genius",
"version": "1.0.0",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js"

},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"express": "^4.19.2",
"nodemailer": "^6.9.13"
}
}
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/26/2024 in #back-end
trouble using express.js
this is the js
const nodemailer = require("nodemailer");
const bodyParser=require('body-parser');
const express=require('express')

const app=express()
app.use('/submit-form',bodyParser.urlencoded({extended:false}))
app.post('/submit-form', (req,res)=>{
const {firstName,lastName, sessionDate, subject}=req.body
const transporter=nodemailer.createTransport(
{
service: 'gmail',
host: "smtp.gmail.email",
port: 587,
secure: false,
auth: {
user: "",
pass: "",
},
}
)
const emailMessage={
from:'',
to:'',
subject: "Hello βœ”",
text: "Hello world?",
html: "<b>Hello world?</b>",
}
transporter.sendMail(emailMessage, (error,info)=>{
if(error){
console.log('Error sending email:', error);
res.status(500).send('Error sending email');
}else {
console.log('Email sent:', info.response);
res.send('Email sent successfully');
}
})
})




app.listen(3000, () => {
console.log('Server is running on http://localhost:3000');
});
const nodemailer = require("nodemailer");
const bodyParser=require('body-parser');
const express=require('express')

const app=express()
app.use('/submit-form',bodyParser.urlencoded({extended:false}))
app.post('/submit-form', (req,res)=>{
const {firstName,lastName, sessionDate, subject}=req.body
const transporter=nodemailer.createTransport(
{
service: 'gmail',
host: "smtp.gmail.email",
port: 587,
secure: false,
auth: {
user: "",
pass: "",
},
}
)
const emailMessage={
from:'',
to:'',
subject: "Hello βœ”",
text: "Hello world?",
html: "<b>Hello world?</b>",
}
transporter.sendMail(emailMessage, (error,info)=>{
if(error){
console.log('Error sending email:', error);
res.status(500).send('Error sending email');
}else {
console.log('Email sent:', info.response);
res.send('Email sent successfully');
}
})
})




app.listen(3000, () => {
console.log('Server is running on http://localhost:3000');
});
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/10/2024 in #ui-ux
how to use a response from an api request
its from a site called Open Weather. Is this one you have used?
12 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/7/2024 in #ui-ux
unclear and grainy background image
thanks @Pat66
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/7/2024 in #ui-ux
unclear and grainy background image
thanks guys, appreciatedπŸ‘Š
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/7/2024 in #ui-ux
unclear and grainy background image
how do i get an image that does have enough pixels?
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
lol same, im just practicing cloning some websites to improve my skills
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
how can i override it, i mean the netflix site did it right?πŸ₯²
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
No description
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
No description
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
okay thank you, let me give it a go🀝
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
just normal gradient with like a max height type of thing? how do i keep it clear?
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 4/5/2024 in #ui-ux
gradient navbar?
like how does it get slightly darker to the top like that?
19 replies
KPCKevin Powell - Community
Created by greenleaf02 on 3/31/2024 in #front-end
is this some kind of combination
understandable thank you very much. Really appreciate the inputπŸ‘Š πŸ’―
10 replies
KPCKevin Powell - Community
Created by greenleaf02 on 3/31/2024 in #front-end
is this some kind of combination
so it just comes from the experience of the dev?πŸ₯²
10 replies
KPCKevin Powell - Community
Created by greenleaf02 on 3/31/2024 in #front-end
is this some kind of combination
No description
10 replies
KPCKevin Powell - Community
Created by greenleaf02 on 3/25/2024 in #front-end
Image dimensions not matching p
i understand, thanks again for you assistance, it has been highly appreciatedπŸ’―
9 replies