rohitdaryanani / horangi

Todo App with authentication using GraphQL

Home Page:https://horangi.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Todo App using GraphQL

check the live version here

Tech stack

  • React - frontend/view library
  • GrapQL - for querying the API
  • Apollo Client - Client Library for GraphQL

Setup and Run

  • $ git clone https://github.com/rohitdaryanani/horangi.git && cd github will download the app and cd to the folder once done.

  • npm install - to install dependencies.

  • npm start - Runs the app in development mode.

  • npm run build - Builds the app for production to the build folder.

Questions

  • packages/libraries used.

  • file structure

    • Top Level
    ├── README.md
    ├── build
    ├── node_modules
    ├── package.json
    ├── public
    │   ├── favicon.ico
    │   ├── index.html
    │   └── manifest.json
    └── src
        ├── components
        ├── mutations
        ├── queries
        ├── index.css
        ├── index.js
        ├── App.css
        ├── App.js
        ├── logo.svg
        └── registerServiceWorker.js
    
    • build - is the transpiled and minified source for the project and is used for deployment
    • src - is where are code is and is divided into 3 folders
      • components - interaction with the data and UI breaking them down by features
      • queries - GraphQL related queries
      • mutations - GraphQL related mutations
  • create-react-app comes with a built in script to build, this handles our transpiling and minifying our code into a single js and CSS file. All we have to do is upload the build folder. For this project, I'm using surge for deployment.

About

Todo App with authentication using GraphQL

https://horangi.netlify.com


Languages

Language:JavaScript 76.3%Language:CSS 15.6%Language:HTML 8.1%