<html>
<head>
<title>MY FIRST WEBPAGE</title>
</head>
<body>
<h1>Hello, World! 👋</h1>
</body>
</html>
const mongoose = require('mongoose');
const dotenv = require('dotenv');
const app = require('./app');
dotenv.config({ path: './config.env' });
const DB = process.env.DATABASE_LOCAL;
mongoose
.connect(DB, {
useNewUrlParser: true,
useCreateIndex: true,
useUnifiedTopology: true,
useFindAndModify: false
})
.then(con => {
console.log('Connected to MongoDB 🚀');
});
const port = 3000;
app.listen(port, () => {
console.log(`Hello from port ${port} 👋`);
});
I have three years of
front-end development experience.
I have been professionally involved in back-end development for the past 6 months.
HTML
CSS
BOOTSTRAP
JS
COMMAND LINE
NODE JS
EXPRESS JS
MANGODB
GIT
FIREBASE