Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
49 changes: 49 additions & 0 deletions binaryBrain/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Electhon - 2023

#### Team Name - Binary Brain
#### Problem Statement - 3. Device a solution that can increase the voting turnout on the election day
#### Team Leader Email - phadnis.anurag@gmail.com

## A Brief of the Prototype:
What is your solution? and how it works.
> The idea behind Votivate is to increase voter turnout in India by incentivizing people to vote. Votivate aims to achieve this by partnering with brands to offer exclusive discounts and offers to those who cast their votes.

> Users can register for Votivate using their prefered brand's application and upload a selfie with an inked finger as proof of voting. Votivate uses deep learning neural net to verify the proof of voting and confirm that the user has indeed cast their vote. Once a user's vote is validated, they are redirected to the participating brand's website or app to receive their discount or offer.

> By providing a tangible benefit to voting, Votivate hopes to increase voter turnout and promote a more representative democracy. In addition, brands benefit from increased customer engagement and loyalty, positive brand image and reputation, and increased sales and revenue. Votivate offers a plug-and-play API that allows brands to easily integrate their campaigns into their apps and websites.

## Code Execution Instruction:
The repository contains multiple indepndent service which are needed to be built in order to run the system.

1. pov-app-backend:
This is the backend server created for the votivate application. The purpose of this service is to create endpoint to upload picture with geolocation and verify the proof of vote token should be given to the user or not. The user's are identified on the basis of SHA256 hash of their email address of phone number. It talks to the services of the brand companies by using HTTP callbacks.
It has the following dependencies:
1. Nodejs
2. Mongodb
3. Token for the ML model hosted on cloud

You need to provide all the above information in an .env file.
Then run
> `yarn install`
> Run `yarn start:dev`
> Server opens on a default port 3000

2. react-camera
This is the frontend application which will be used to upload a selfie and act as a web interface using which the voter can get his proof of vote for one time for each election which can then be redemmed at brand offers of multiple brands

To run the application
> npm install
> npm start

3. Ecom-app-backend (Demo code for integration with brands)
This is the backend application which act as a mock application for how the brand's will integrate our application. They need to create and maintain their own discount coupons and create banner during the election which will act as reminder using push notifications and voter can click on the banner to get redirected to the portal where he can upload the selfie to get the proof of vote tokens. Later the proof of vote tokens are notified to this service using HTTP calls which are made by the pov app backend.
> Create .env file with the mongodb credentials
> run yarn install
> run yarn start:dev

4. Ecommerce react app (Demo code for integration with brands)
This is a front end demo application of how our solution will be integrated on other platforms.
To run this
> npm run

[Execution Plan](pov.pdf)
23 changes: 23 additions & 0 deletions binaryBrain/e-commerce-react-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
21 changes: 21 additions & 0 deletions binaryBrain/e-commerce-react-app/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Alper Tugriçeri

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
138 changes: 138 additions & 0 deletions binaryBrain/e-commerce-react-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@

<div id="top"></div>

[![MIT License][license-shield]](https://github.com/Atugriceri/e-commerce-react-app/blob/main/LICENSE)
[![LinkedIn][linkedin-shield]](https://www.linkedin.com/in/alpertugriceri/)


<br />
<div align="center">
<a href="https://github.com/Atugriceri/e-commerce-react-app">
<img src="https://openmoji.org/data/color/svg/1F6D2.svg" alt="Logo" width="80" height="80">
</a>
<h3 align="center">E-Commerce-React-App</h3>

<p align="center">
Shopping site project that includes basic processes such as adding to cart, adding to favorites, product listing and product detail page, which should be on an e-commerce site.
<br />
<br />
<a href="https://atugriceri-e-commerce-react-app.netlify.app/">View Demo</a>
</p>
</div>

<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
</li>
<li><a href="#getting-started">Getting Started</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>

<!-- ABOUT THE PROJECT -->
## About The Project

![PROJECT_SCREENSHOT_01](./src/Assets/Screenshots/Screenshot_01.jpg)

An e-commerce site with basic shopping functions. You can list the products according to their categories, go to the detail page of the relevant product, add the product to your favorites and to the cart, together with the captured product data.

The project was developed in conjunction with React.js, including Context, Hooks, and Life Cycles Methods. Styled with Tailwind CSS.

<p align="right">(<a href="#top">back to top</a>)</p>


### Built With

* [React.js](https://reactjs.org/)
* [Tailwind CSS](https://tailwindui.com/)
* [Axios](https://www.npmjs.com/package/axios)
* [Fake Store Api](https://fakestoreapi.com/)

<p align="right">(<a href="#top">back to top</a>)</p>


<!-- GETTING STARTED -->
## Getting Started

- Fork the project and clone it locally.
- In the project directory, ou can follow the steps below to download the dependencies:
- Install with npm:
```sh
npm i
```
- Install with yarn:
```sh
yarn
```
- In the project directory, you can run:
- Run with npm:
```sh
npm run
```
- Run with yarn:
```sh
yarn start
```

<p align="right">(<a href="#top">back to top</a>)</p>

## Usage

You can list the products by clicking on the categories, add and remove the products to the cart and favorites. You can view the products you have added to the cart and favorites on the cart and favorites pages.

[See it live!](https://atugriceri-e-commerce-react-app.netlify.app/)

<p align="right">(<a href="#top">back to top</a>)</p>

## Roadmap

- [x] Fetching product data, listing by categories and product detail page.
- [x] Add to favorites and favorites page.
- [x] Add to cart and cart page.
- [ ] Responsive Design
- [ ] Navbar
- [ ] Card
- [ ] Complete the sign in and sign up process.
- [ ] Create order page.

<p align="right">(<a href="#top">back to top</a>)</p>

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#top">back to top</a>)</p>


## Contact

Alper Tugriçeri - [Linkedin](https://www.linkedin.com/in/alpertugriceri/) - alpertugriceri@gmail.com

Project Link: [https://github.com/Atugriceri/e-commerce-react-app](https://github.com/Atugriceri/e-commerce-react-app)

<p align="right">(<a href="#top">back to top</a>)</p>


<!-- ACKNOWLEDGMENTS -->
## Acknowledgments

* [Hero Icons](https://heroicons.com/)

<p align="right">(<a href="#top">back to top</a>)</p>



<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=for-the-badge
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
Loading