Code Monkey home page Code Monkey logo

au-lens-demo-app's Introduction

๐Ÿ’ญ What does the application include?

  1. Connect User's Wallet
    1. Sign With Lens Profile
    2. Create a Profile - on the testnet, if connected address doesn't already have one
  2. Create Post (attach AppID) - compulsorily create a new post if there are no any post by that user
  3. Display list of posts (filter posts based on AppID)
  4. Allow the user to Like/Unlike any posts
  5. Display a list of Recommend profiles (based on the posts that appear on the home page)
  6. Follow other users (UnFollow not included ๐Ÿ˜€)
  7. Display individual user profile detail page with their stats and posts

๐Ÿค– Installation and Getting the App running on your machine

  1. Clone the repository with

    git clone https://github.com/Amitmahato/AU-Lens-Demo-App.git
    

    Prefer SSH

    git clone [email protected]:Amitmahato/AU-Lens-Demo-App.git
    
  2. Install dependencies with npm install [Recommended, as we used npm while building] or yarn install [Dependencies version might not match with the ones used by us while building]

  3. Copy or Rename the .env.local.example to .env.local

  4. Start the application with npm run dev or yarn dev

โš ๏ธ Expect the application to be buggy, as it was built only for demo purpose. If you find some bug simply refresh the page to get it working properly again, when using it for the first time. Optionally, clear the local storage when coming back after some days as the authentication tokens are stored there and not every cases are handled properly ๐Ÿ˜….

๐Ÿ“ What does the .env include?

  • The AppId that we use to filter posts that were created from our application, feel free to change it and give it some AppId of your choice to make your app feel like yours
  • The lens public API endpoint which can be of the testnet or the mainnet.

    โš ๏ธ Remember when using the mainnet you must have a lens profile other wise the app will redirect you to Create Profile page, the API for which isn't available publicly, ultimately making the app fail

  • The URL to polygonscan on mumbai network for letting the user navigate to polygonscan to view their transaction while creating a lens profile. You can change this one as well with the mainnet but it won't be really useful.

au-lens-demo-app's People

Contributors

aell-a avatar amitmahato avatar esther-guo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.