Skip to content

Commit

Permalink
This is the initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jokwuoma committed Aug 16, 2024
1 parent 68f4d08 commit 8306ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: React.js CI
on:
pull_request:
branches: "master"
push: # included push for git push commands
branches: "master"

jobs:
frontend-test:
Expand Down
2 changes: 1 addition & 1 deletion backend/populateDB.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const mongoose = require("mongoose");
const Question = require("./Question"); // Adjust the path as necessary to your Question model
const { data } = require("./data"); // Adjust the path to where your data.js file is located

// Store my MongoDB connection string in the MONGO_URI environment variable
// Store my MongoDB connection string in the MONGO_URI environment variable to connect to the database
process.env.MONGO_URI = "mongodb+srv://jokwuoma:[email protected]/?retryWrites=true&w=majority&appName=Cluster0";
const mongoURI = process.env.MONGO_URI;
// const mongoURI = 'mongodb+srv://${username}:${password}@cluster0.3x0s7hh.mongodb.net/?appName=mongosh+2.1.5';
Expand Down

0 comments on commit 8306ceb

Please sign in to comment.