Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ceadoor/hacktoberfest-website-2019

Website for Hacktoberfest event of 2019 powered by TRACE
https://github.com/ceadoor/hacktoberfest-website-2019

create-react-app react-bootstrap reactjs sass styled-components

Last synced: about 1 month ago
JSON representation

Website for Hacktoberfest event of 2019 powered by TRACE

Awesome Lists containing this project

README

        

⚡️ hacktoberfest-website-2019


Website for Hacktoberfest event 2019 hosted by TraceCEA


https://hacktoberfest-tracecea.surge.sh



### 🧰 Tech / framework(s) used

- Build
- [Yarn](https://yarnpkg.com/lang/en/)
- BackEnd
- [ExpressJs](https://expressjs.com/)
- [GitHub API](https://github.com/octokit/rest.js/)
- [Google Sheets API](https://sheets.google.com/)
- FrontEnd
- [ReactJs](https://reactjs.org/)
- [React Bootstrap](https://react-bootstrap.github.io/)
- [React Router Dom](https://www.npmjs.com/package/react-router-dom)
- [Sass](https://sass-lang.com/)




## 🚀 Quick Start

- `yarn install` to install dependencies.
- `yarn run dev:web` to start the CRA in development.
- `yarn run server` to start the development express server.
- `yarn run build:web` build the files for production.


#### 🌟 Passing Environment Variables

##### For Client

Copy `.env.sample` to `.env.development` or `.env.production` in `client/` directory and update credentials in those files.

##### For Server

Copy `variables.env.sample` to `variables.env` in `server/` directory and update the file.

#### 🌟 Accessing Google Sheets API

Follow instructions from [here](https://www.npmjs.com/package/google-spreadsheet#authentication) and update `GSHEETS_ID`, `G_PKEY`, `G_C_EMAIL` fields in `server/variables.env`

#### 🌟 Accessing GitHub API

##### Generate new tokens

Goto [Personal Access Tokens](https://github.com/settings/tokens)

- For unauthenticated requests, the rate limit is 60 requests per
hour.
see [Rate Limiting](https://developer.github.com/v3/#rate-limiting)

##### 🌟 Updating metadata

Edit `config/index.js` file with your custom information

##### 🌟 Adding static contents

Copy contents (images, documents, etc...) to `static/` directory

#### 🌟 Publishing to surge.sh using GitHub Actions

Pass `SURGE_DOMAIN`, `SURGE_LOGIN`, `SURGE_TOKEN` to `settings/secrets` in GitHub Settings

## 🖤 Show your support

Give a ⭐ if this you find this project useful!

## 🗞 Licence

Code released under the [MIT License](LICENSE).

## 📋 Copyrights

Logos & Branding:

- © 2019 DIGITALOCEAN, LLC. ALL RIGHTS RESERVED.
- © 2019 TRACECEA. ALL RIGHTS RESERVED.