Skip to content

Commit f08e133

Browse files
code
1 parent 8e656ff commit f08e133

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

auth-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var userSchema = new Schema({
1212
});
1313
let User;
1414
function initialize(){
15-
let db = mongoose.createConnection(`mongodb+srv://user :pass@cluster0.suctt.mongodb.net/myFirstDatabase?retryWrites=true&w=majority`);;
15+
let db = mongoose.createConnection(`mongodb+srv://hashcode-ankit:aNKIT@cluster0.my9kvko.mongodb.net/?retryWrites=true&w=majority`);
1616
return new Promise((resolve,reject)=>{
1717

1818
db.on('error', (err)=>{

blog-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const { resolve } = require("path");
44
const Sequelize = require('sequelize');
55
const { gte } = Sequelize.Op;
66

7-
var sequelize = new Sequelize('d4bofclibj8mre', 'dyrmsjqxrzrbls', '496808be423461a80ad74fa67fbb511788cfe0ad307d7da7c17d59ffe3de17cd', {
8-
host: 'ec2-34-231-63-30.compute-1.amazonaws.com',
7+
var sequelize = new Sequelize('d56ljmssut0i60','fzuvhgoelhwhet','8e23c7ff7f2298655a3d35f8fe8fbea6f14302a36b6a3b5c44f07a7ff9ca8046', {
8+
host: 'ec2-52-72-99-110.compute-1.amazonaws.com',
99
dialect: 'postgres',
1010
port: 5432,
1111
dialectOptions: {

views/about.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
<section class="main col-md-9">
44
<article>
55
<h2>About</h2>
6-
<p>My name is Ankit Kumar. I am from India and currently I am working as Data Science and Business Analytics Instructor intern at Pepcoding.
7-
I make this web for fun and love.
6+
<p>Welcome to CodeLight. We aim to build a tech community with our new and inovative tech blogs. Providing notes and exam Papers at single platform. Post your blogs which loved by everyone and share with your friends.
87

98

109
</article>

views/layouts/main.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
1010
<link rel="stylesheet" href="/css/main.css">
1111

12-
<title>Rajat Kumar's Blog</title>
12+
<title>CodeLight</title>
1313
</head>
1414
<body>
1515
<nav class="navbar navbar-default navbar-fixed-top">
@@ -22,7 +22,7 @@
2222
<span class="icon-bar"></span>
2323
<span class="icon-bar"></span>
2424
</button>
25-
<span class="navbar-brand" href="#">WEB322 - Rajat Kumar</span>
25+
<span class="navbar-brand" href="#">CodeLight</span>
2626
</div>
2727

2828
<!-- Collect the nav links, forms, and other content for toggling -->

0 commit comments

Comments
 (0)