diaslucia / spacex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo


React JS Typescript JWT GraphQL


πŸ”Ž About

This website was developed using React + TypeScript + Auth0 + Apollo GraphQL.

Utilizes the SpaceX API, allowing users to log in and access information about the rockets The core aim of its creation was to practice using Apollo GraphQL to consume the API and implement Auth0 for JWT authentication.

πŸš€ Ejecution

Steps to install and run the project:

  1. Clone the project

    git clone https://github.com/diaslucia/spacex.git
  2. Open your current directory project

    cd spacex
  3. Install the libraries

    npm install
  4. Create an .env file to enter your AUth0 keys

    VITE_DOMAIN = "";
    VITE_KEY = "";
  5. Ejecute the app

    npm run start

πŸ“‚ Structure

The file structure is:

  • assets: to store images and local fonts.
  • components-reusable: to store reusable and layout components.
  • hooks: to store apollo hook.
  • utils: to store typescript types and theme from sass.
  • pages: to store pages structure and their components.

(to Top)

About


Languages

Language:TypeScript 53.2%Language:SCSS 37.6%Language:CSS 4.3%Language:JavaScript 2.7%Language:HTML 2.2%