Git Product home page Git Product logo

petgram_project's Introduction

Petgram App

An instagram for pets. Full Stack project focused in the Frontend, UX & UI. Developed for mobile devices. PWA (fully installable and supported with a service worker to work offline).

Frontend

Access the frontend from here!

Tech stack

  • React
  • React helmet for dynamic SEO
  • Styles made with Styled Components
  • Apollo Client + GraphQL
  • Google Workbox
  • Webpack

Scripts

  • npm install for dependencies
  • npm run serve:dev for development environment
  • npm test for Cypress end-to-end testing
  • npm run build to create production build (webpack bundle)

Features

  • Offline support with Google Workbox, 100% Progressive Web App
  • The app can be installed in desktop, iOS & Android devices
  • SPA Routes implemented with react-router
  • Different network strategies for each static asset
  • Basic sign-up and sign-in interfaces
  • Infinite scroll with pictures' lazy loading on the home screen
  • Liked pets' list for authenticated users

Backend (Fake API)

Access the backend from here! (using one of the endpoints described below).

Tech stack

  • Apollo Server + GraphQL
  • NodeJS + Express
  • Jason Web Tokens for authentication

Important! No database was used (as the focus for the Project was the Frontend with React consuming a GraphQL API). The database was simulated by a JSON file. For this reason, the created users are not persistent and they will be erased after some time; the pets' likes will be refreshed too.

Endpoints

  • /categories returns an array with the 6 pet categories.
  • /graphql where the Apollo server works (the Frontend consumes all its data from here); from a Browser it opens the GraphQL Playground

Testing

End-to-end tests implemented with Cypress.

License

MIT.

The app was developed from scratch using Webpack. No framework was used.

petgram_project's People

Contributors

cristianblar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.