Skip to content

Commit

Permalink
Merge branch 'dev' into feat/My_Account
Browse files Browse the repository at this point in the history
  • Loading branch information
anwesha2002 authored May 14, 2024
2 parents 81c1003 + a78047d commit 57914d9
Show file tree
Hide file tree
Showing 27 changed files with 14,693 additions and 2,067 deletions.
37 changes: 37 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// eslint-disable-next-line no-undef
module.exports = {
settings: {
react: {
version: "detect",
},
},
extends: ['eslint:recommended', 'plugin:react/recommended'],
parser: '@babel/eslint-parser',
parserOptions: {
requireConfigFile: false,
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
babelOptions: {
presets: ["@babel/preset-react"]
},
},
plugins: ['react'],
env: {
es6: true,
browser: true,
},
rules: {
'no-console': 0, // Disable console error
'no-undef': 0, // Disable no-undef error
'react-hooks/exhaustive-deps': 0,
'no-unused-vars': 0,
'react/jsx-key':0,
'no-useless-escape' :0,
'react/prop-types':0,
'react/no-unescaped-entities':0,
'react/no-unknown-property':0,
}
}
22 changes: 22 additions & 0 deletions .github/workflows/greetings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Greetings
on: [pull_request_target, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hi there!
Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.
Please note that this is the project owner, @MAVRICK-1. I won't be available for 3-4 days and will reply to every PR after May 18. Thank you for your cooperation.
pr-message: |
Welcome to our repository. 🎊
Thank you so much for taking the time to point this out. Please note that this is the project owner, @MAVRICK-1. I won't be available for 3-4 days and will reply to every PR after May 18. Thank you for your cooperation.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules/
.env
build
BOSS
.eslintcache
148 changes: 110 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,132 @@
<div align="center">

# Nest ONDC Project
<img src="./Images/WebsiteImg.png">

</div>

<div align = "center">
<br>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

<table align="center">
<thead align="center">
<tr border: 1px;>
<td><b>🌟 Stars</b></td>
<td><b>🍴 Forks</b></td>
<td><b>🐛 Issues</b></td>
<td><b>🔔 Open PRs</b></td>
<td><b>🔕 Close PRs</b></td>
</tr>
</thead>
<tbody>
<tr>
<td><img alt="Stars" src="https://img.shields.io/github/stars/MAVRICK-1/e-commerce_website?style=flat&logo=github"/></td>
<td><img alt="Forks" src="https://img.shields.io/github/forks/MAVRICK-1/e-commerce_website?style=flat&logo=github"/></td>
<td><img alt="Issues" src="https://img.shields.io/github/issues/MAVRICK-1/e-commerce_website?style=flat&logo=github"/></td>
<td><img alt="Open Pull Requests" src="https://img.shields.io/github/issues-pr/MAVRICK-1/e-commerce_website?style=flat&logo=github"/></td>
<td><img alt="Close Pull Requests" src="https://img.shields.io/github/issues-pr-closed/MAVRICK-1/e-commerce_website?style=flat&color=critical&logo=github"/></td>
</tr>
</tbody>
</table>
</div>

## Project Description

Our project is an ONDC (Open Network for Digital Commerce) site integrated with OpenStreetMap. The aim is to provide a seamless digital commerce experience for businesses and consumers across Bharat. The platform leverages ONDC APIs for data exchange and integration with various digital commerce services.

- YouTuBe Video Link : [NestOndc](https://www.youtube.com/watch?v=-WzV5HD6KMo)
### Additional Resources:
- **YouTube Video Link:** [NestOndc](https://www.youtube.com/watch?v=-WzV5HD6KMo)
- **Deployment Link:** [Link](https://nestondc.vercel.app/)


- Deployment Link : [Link](https://nestondc.vercel.app/)
<div align="center">

## -> Key Features <-
</div>

## Features
- Integration with ONDC APIs
- OpenStreetMap integration for location-based services
- Full-stack development for seamless user experience
- Responsive frontend design for accessibility across devices
- Secure backend architecture for data management
- **Integration with ONDC APIs:** Seamless integration with ONDC APIs for enhanced functionality.
- **OpenStreetMap Integration:** Utilizes OpenStreetMap for accurate and reliable location-based services.
- **Full-stack Development:** Developed using a full-stack approach to ensure a seamless user experience from frontend to backend.
- **Responsive Frontend Design:** Designed with responsiveness in mind, ensuring accessibility across various devices and screen sizes.
- **Secure Backend Architecture:** Built with a secure backend architecture to ensure the safety and integrity of user data.

## Technologies Used
- Frontend: HTML, CSS, JavaScript, React.js, Redux
- Backend: Node.js, Express.js, Firebase Realtime Database
- Mapping: OpenStreetMap API
- Version Control: Git, GitHub

<div align="center">

## 💻 Tech Stacks

![HTML](https://img.shields.io/badge/HTML-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)
![CSS](https://img.shields.io/badge/CSS-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white)
![JavaScript](https://img.shields.io/badge/JavaScript-%23F7DF1E.svg?style=for-the-badge&logo=javascript&logoColor=black)
![React.js](https://img.shields.io/badge/React.js-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB)
![Redux](https://img.shields.io/badge/Redux-%23764ABC.svg?style=for-the-badge&logo=redux&logoColor=white)
![Node.js](https://img.shields.io/badge/Node.js-%23339933.svg?style=for-the-badge&logo=node.js&logoColor=white)
![Express.js](https://img.shields.io/badge/Express.js-%23000000.svg?style=for-the-badge&logo=express&logoColor=white)
![Firebase Realtime Database](https://img.shields.io/badge/Firebase_Realtime_Database-%23FFA000.svg?style=for-the-badge&logo=firebase&logoColor=white)
![OpenStreetMap API](https://img.shields.io/badge/OpenStreetMap_API-%23767676.svg?style=for-the-badge&logo=openstreetmap&logoColor=white)
![Git](https://img.shields.io/badge/Git-%23F05032.svg?style=for-the-badge&logo=git&logoColor=white) ![GitHub](https://img.shields.io/badge/GitHub-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)

</div>

## Installation
1. Clone the repository: git clone <[https://github.com/USER_NAME/e-commerce_website.git](https://github.com/MAVRICK-1/e-commerce_website.git)>
2. Navigate to the project directory: cd <e-commerce_website>
3. Install dependencies: npm install
4. Run the development server: npm start
1. **Clone the repository:**
```bash
git clone https://github.com/MAVRICK-1/e-commerce_website.git
```
2. **Navigate to the project directory:**
```bash
cd e-commerce_website
```
3. **Install dependencies:**
```bash
npm install
```
4. **Run the development server:**
```bash
npm start
```

## Usage
- Access the ONDC platform through the provided URL.
- Explore the digital commerce services and features.
- Use the integrated OpenStreetMap for location-based services.
- Interact with the platform to experience seamless digital commerce.
- **Access the ONDC platform:** Use the provided URL to access the platform.
- **Explore digital commerce services:** Navigate through various features and services offered.
- **Utilize location-based services:** Take advantage of the integrated OpenStreetMap for location-based functionalities.
- **Interact with the platform:** Engage with the website to experience seamless digital commerce.

## Contributing
- Fork the repository.
- Create your feature branch: git checkout -b feature-name
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin feature-name
- Submit a pull request.

## 🤝 Our Contributors
Thank you for considering contributing to our project! To contribute, follow these steps:

1. **Fork the repository:** Click on the "Fork" button on the top right corner of the repository page.
2. **Create your feature branch:**
```bash
git checkout -b feature-name
```
Replace `feature-name` with a descriptive name for your feature.
3. **Commit your changes:**
```bash
git commit -am 'Add some feature'
```
4. **Push to the branch:**
```bash
git push origin feature-name
```
5. **Submit a pull request:** Once you have pushed your changes to your forked repository, go to the original repository and click on the "New pull request" button. Fill out the necessary information and submit your pull request.

<details>
<summary>Contributors</summary>
<div>
<a href="https://github.com/MAVRICK-1/e-commerce_website/graphs/contributors">
<img src="https://contrib.rocks/image?repo=MAVRICK-1/e-commerce_website"/>
</a>
</div>
</details>
#### We appreciate your contributions and will review your pull request as soon as possible. Thank you for helping to improve our project!

Thank you for your interest in contributing to our project! We appreciate any contributions, whether it's bug fixes, new features, or documentation improvements.

We value the time and effort you put into contributing, and we look forward to reviewing and merging your contributions. Join us on this exciting journey of creativity and collaboration, and let your projects shine on NestOndc!

<h2 align = "center"> 🤝 Our Contributors</h2>
<div align = "center">

![Contributors](https://contrib.rocks/image?repo=MAVRICK-1/e-commerce_website)

<h3>Thank you for contributing to our repository</h3>

</div>
<br>
<div align=center>
<h2>This Project is the part of</h2>
<img alt="GSSoC" src="https://raw.githubusercontent.com/GirlScriptSummerOfCode/MentorshipProgram/master/GSsoc%20Type%20Logo%20Black.png#gh-light-mode-only" width=87%>
Expand All @@ -67,4 +139,4 @@ This project is licensed under the [MIT License](LICENSE).
## Acknowledgements
We extend our heartfelt gratitude to the organizers of GSSOC for offering this invaluable platform to exhibit our talents and make meaningful contributions to the open-source community. Your efforts in fostering a collaborative environment for budding developers are commendable, and we are privileged to be a part of such an esteemed event. Thank you for providing us with the opportunity to showcase our skills and contribute to the advancement of open-source technology.

:star: Don't forget to give us a star! :star:
<h2 align="center">Don't forget to give us a ⭐</h2>
78 changes: 78 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# **Contributing Guidelines**
This documentation contains a set of guidelines to help you during the contribution process.
We are happy to welcome all the contributions from anyone willing to improve/add new scripts to this project.
Thank you for helping out and remember, **no contribution is too small.**
<br>
Please note we have a [code of conduct](CODE_OF_CONDUCT.md) please follow it in all your interactions with the project.



<br>

## **Creating a new issue process**

1. Go to the project's issues.
2. click on "new issue".
3. Give proper title and required description for the issue.
4. Don't spam to get the assignment of the issue.
5. Wait for till someone is looking into it.
6. Start working on issue only after you got assigned that issue.


## **Need some help regarding the basics?**

You can refer to the following articles on basics of Git and Github and also contact the Project Mentors,
in case you are stuck:

- [Forking a Repo](https://help.github.com/en/github/getting-started-with-github/fork-a-repo)
- [Cloning a Repo](https://help.github.com/en/desktop/contributing-to-projects/creating-an-issue-or-pull-request)
- [How to create a Pull Request](https://opensource.com/article/19/7/create-pull-request-github)
- [Getting started with Git and GitHub](https://towardsdatascience.com/getting-started-with-git-and-github-6fcd0f2d4ac6)
- [Learn GitHub from Scratch](https://docs.github.com/en/get-started/start-your-journey/git-and-github-learning-resources)

<br>

### Steps need to be followed to contribute:

1. **Open GitHub Desktop:**
Launch GitHub Desktop and log in to your GitHub account if you haven't already.

2. **Clone the Repository:**
- If you haven't cloned the ResourceHub repository yet, you can do so by clicking on the "File" menu and selecting "Clone Repository."
- Choose the ResourceHub repository from the list of repositories on GitHub and clone it to your local machine.

3. **Switch to the Correct Branch:**
- Ensure you are on the branch that you want to submit a pull request for.
- If you need to switch branches, you can do so by clicking on the "Current Branch" dropdown menu and selecting the desired branch.

4. **Make Changes:**
Make your changes to the code or files in the repository using your preferred code editor(like vs code).

5. **Commit Changes:**
- In GitHub Desktop, you'll see a list of the files you've changed. Check the box next to each file you want to include in the commit.
- Enter a summary and description for your changes in the "Summary" and "Description" fields, respectively. Click the "Commit to <branch-name>" button to commit your changes to the local branch.

6. **Push Changes to GitHub:**
After committing your changes, click the "Push origin" button in the top right corner of GitHub Desktop to push your changes to your forked repository on GitHub.

7. **Create a Pull Request:**
- Go to the GitHub website and navigate to your fork of the ResourceHub repository.
- You should see a button to "Compare & pull request" between your fork and the original repository. Click on it.

8. **Review and Submit:**
- On the pull request page, review your changes and add any additional information, such as a title and description, that you want to include with your pull request.
- Once you're satisfied, click the "Create pull request" button to submit your pull request.

9. **Wait for Review:**
Your pull request will now be available for review by the project maintainers. They may provide feedback or ask for changes before merging your pull request into the main branch of the ResourceHub repository.


## **Pull Request Process**

1. Ensure that you have self reviewed your code.
2. Make sure you have added the proper description for the functionality of the code
3. Submit your PR by giving the necesarry information in PR template and wait for PR to review it.

<br>

Thank you for your interest in contributing to **e-commerce website.**
Loading

0 comments on commit 57914d9

Please sign in to comment.