https://github.com/bunsdev/presale_front
https://github.com/bunsdev/presale_front
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bunsdev/presale_front
- Owner: BunsDev
- License: mit
- Created: 2022-03-15T23:10:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-14T19:07:56.000Z (over 4 years ago)
- Last Synced: 2026-01-12T14:41:51.048Z (5 months ago)
- Size: 3.75 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Hector Frontend](https://app.hectordao.com/)
This is the front-end repo for Hector that allows users be part of the future of Greece.
## 🔧 Setting up Local Development
Required:
- [Node v14](https://nodejs.org/download/release/latest-v14.x/)
- [Yarn](https://classic.yarnpkg.com/en/docs/install/)
- [Git](https://git-scm.com/downloads)
```bash
$ git clone https://github.com/Hector-DAO/HectorDAO.git
$ cd hectordao
# set up your environment variables
# read the comments in the .env files for what is required/optional
$ cp .env.example .env
# fill in your own values in .env, then =>
$ yarn
$ yarn start
```
The site is now running at `http://localhost:3000`!
Open the source code and start editing!
### Architecture/Layout
The app is written in [React](https://reactjs.org/) using [Redux](https://redux.js.org/) as the state container.
The files/folder structure are a **WIP** and may contain some unused files. The project is rapidly evolving so please update this section if you see it is inaccurate!
```
./src/
├── App.jsx // Main app page
├── abi/ // Contract ABIs from etherscan.io
├── actions/ // Redux actions
├── assets/ // Static assets (SVGs)
├── components/ // Reusable individual components
├── constants.js/ // Mainnet Addresses & common ABI
├── contracts/ // TODO: The contracts be here as submodules
├── helpers/ // Helper methods to use in the app
├── hooks/ // Shared reactHooks
├── themes/ // Style sheets for dark vs light theme
└── views/ // Individual Views
```
## 🗣 Community
* [Join our Discord](https://discord.me/hector) and ask how you can get involved with the DAO!