Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedAl-Nassirat committed Apr 6, 2024
1 parent 07835b0 commit 54cfb16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use BetterCode to enhance your software engineering interview preparation with a
## Technologies Used

- **Frontend**: React Native for cross-platform mobile and web app development.
- **Backend**: Node.js with Express for a scalable server-side solution.
- **Backend**: Node.js with Express for a scalable server-side solution with TypeScript integration for type safety and improved code maintainability.
- **Database**: MongoDB for flexible, scalable data storage.
- **Additional Tools**:
- React Navigation for seamless screen transitions and navigation.
Expand Down
7 changes: 0 additions & 7 deletions api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,8 @@ const mongoURI = 'mongodb://localhost:27017/BetterCodeDB';
mongoose.connect(mongoURI)
.then(() => console.log('MongoDB Connected'))
.catch(err => console.log(err));






app.use(express.json());
app.get('/questions', async (req, res) => {

const questions = await Question.find(); // Fetch all questions
console.log(questions.length);
console.log(questions);
Expand Down

0 comments on commit 54cfb16

Please sign in to comment.