Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/federicobonel/gpt-3

Basic responsive static website implemented to experiment with React
https://github.com/federicobonel/gpt-3

Last synced: about 19 hours ago
JSON representation

Basic responsive static website implemented to experiment with React

Awesome Lists containing this project

README

        

# GPT-3
13 february 2022, by Federico Jorge Bonel Tozzi

_A basic responsive UI/UX static website created with React and Node_

![node+js](https://miro.medium.com/max/1040/1*q5Tn2FkQ6Q99DrMVxGeHpw.png)

The website design is thought out to be expanded in the future (with sections to get early access, contact, etc.) and have a persistancy layer for the articles.

## How to start using this repo?

1. Install nodeJS
2. Clone this repository.
3. Navigate to the cloned repo root folder.
4. Install the application to download dependencies:

npm install

5. Run the build script to create an optimized version of the app:

npm run build

6. Serve the ./build folder with some package (You could use the [serve package](https://www.npmjs.com/package/serve))
7. Done and done! You can now go to the url where you are serving this client and access it!

## Features

- ✨ Functional, catchy, interactive and user friendly ✨
- 🌈 Gradients and animations 🌈
- 🎆 Innovative and modern design 🎆
- 📱 Optimized with full responsiveness for every kind of device 📱

## Tech

To develop this website I used two main open source projects

- NodeJS: The develop, test, run, and deploy the website
- ReactJS: To make every component in the website modular and reusable

To actually deploy it I used a free hosting service called Netlify: netlify.com

## File Structure

The outer structure is the same that any other website bootstrapped by Node JS...

![Really?](https://c.tenor.com/kT9luj_7U94AAAAd/willy-wonka.gif)

I know I know, let me elaborate.
Inside the public folder we have the main index.html file.
Inside the src file we have three folders, one (components) with the most basic components (Articles, navbar, features, etc.), another one (containers) for the components of the website that are made up of other components (i.e the sections: Header, Blog, etc.) and the assets is for all the media that we use in the website.
The index.js inserts our App.js in the index.html, the App.js is the main react app, it's basically a box that contains all the html code to insert in the body of our website. This is made up of 9 react components. The css files at this level are bassically definitions of classes and variables that we use across every component.
The index.js in components and containers folders exports all the react apps in each folder at once so that way we can simplify our imports in any other js file.

## Take a look at it

![web-app?](https://media.giphy.com/media/gMEU9Z8gCy8bF4p3FM/giphy.gif)

## Requirements

* Node.js
* React
* JavaScript

### License

Download and use it as you want!