Skip to content

Commit

Permalink
Merge branch 'Akshatchaube01:main' into suhanipaliwal-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
suhanipaliwal authored Jun 19, 2024
2 parents 34f2ae8 + 900f778 commit 9b04f5d
Show file tree
Hide file tree
Showing 58 changed files with 4,591 additions and 439 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
REACT_APP_SERVICE_ID=service_qfep0u4
REACT_APP_TEMPLATE_ID=template_te2r09e
REACT_APP_PUBLIC_KEY=2L1ir1kGrUHNlXEjH
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: 📝 Documentation
about: Propose changes and improvements to JobLane Docs.
title: '📝[Docs]: '
labels: 'enhancement'
assignees: ''
---

**What Docs changes are you proposing?**
Provide a clear description of the changes you're proposing for the documentation. Are you suggesting corrections, clarifications, additions, or updates?

**Why do the Docs need this improvement? What is the motivation for this change? How will this change benefit the community?**
Explain the motivation behind the proposed changes and how they will benefit the community or users of the documentation.

**Describe the solution you'd like**
Provide a clear and concise description of the changes you'd like to see implemented in the documentation.

**Describe alternatives you've considered**
If you've thought about alternative approaches or solutions, briefly describe them here.

**Additional context**
Add any additional context, examples, or screenshots related to the proposed documentation changes.
30 changes: 27 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
</p>
<br/>

![timewarp](https://github.com/Akshatchaube01/TimeWarp/assets/133582566/d676a08a-f69a-4935-b401-9701664c2194)


<p>Time Wrap is an open-source web application that enables users to explore historical versions of their current location virtually. By leveraging augmented reality and historical maps, users can visualize how their surroundings appeared in different time periods and delve into the area's rich history.</p>

## Features
Expand Down Expand Up @@ -173,15 +176,36 @@ With innovation as our compass and authenticity as our guide, we are committed t

If you encounter any issues or have any feedback or suggestions, please open an issue in the Issues section of this repository. We appreciate your feedback and will respond as soon as possible.

<!-- Code of conduct -->
<div>
<h2><img src = "https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Hand%20gestures/Handshake.png" width="35" height="35"> Code of Conduct</h2>
</div>

Please note that this project is released with a [Contributor Code of Conduct](./CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

## 🛡️ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 💪 Thanks to all Contributors
<hr>

<!-- Contributors -->
<div>
<h2><img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Smilies/Red%20Heart.png" width="35" height="35"> Contributors</h2>
</div>

Thanks to all contributors for helping this project grow! 🍻

## 🙏 Support
<a href="https://github.com/Akshatchaube01/TimeWarp/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Akshatchaube01/TimeWarp" />
</a>

<hr>

<div>
<h2><img src="https://fonts.gstatic.com/s/e/notoemoji/latest/1f64f_1f3fb/512.webp" width="35" height="35"> Support </h2>
</div>

Don't forget to leave a star ⭐️ for this project!
<div>
Don't forget to leave a star<img src="https://fonts.gstatic.com/s/e/notoemoji/latest/1f31f/512.webp" width="35" height="30"> for this project!
</div>
2 changes: 2 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MONGODB_URI=mongodb+srv://ams:[email protected]/?retryWrites=true&w=majority&appName=Cluster0
PORT=5000
17 changes: 17 additions & 0 deletions backend/config/db.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const mongoose = require('mongoose');
require('dotenv').config();

const connectDB = async () => {
try {
await mongoose.connect(process.env.MONGODB_URI, {
useNewUrlParser: true,
useUnifiedTopology: true,
});
console.log('MongoDB connected');
} catch (err) {
console.error('MongoDB connection error:', err);
process.exit(1); // Exit process with failure
}
};

module.exports = connectDB;
11 changes: 11 additions & 0 deletions backend/models/Contact.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const mongoose = require('mongoose');

const contactSchema = new mongoose.Schema({
name: { type: String, required: true },
email: { type: String, required: true },
message: { type: String, required: true },
});

const Contact = mongoose.model('Contact', contactSchema);

module.exports = Contact;
Loading

0 comments on commit 9b04f5d

Please sign in to comment.