Code Monkey home page Code Monkey logo

social-network's Introduction

Social Network

Social Network in SwiftUI with MVVM, Firebase for Login/Register and other database.

  • Using Firebase
    • Login with email
    • Register with email
  • Firestore
    • Save all details of register user
    • Upload profile picture
  • Post like
  • Publish the post
  • Fetch Profile detail
  • Fetch all posts
  • Fetch likes posts
  • Fetch all register users
  • Logout

To launch the mobile app, you will need:

  1. Create a Firebase account (App).
  2. Add the GoogleService-Info.plist file with your app data to the project (generated by Firebase).
  3. Enable Authentication in Firebase (Sign-in providers): Email/Password.
  4. Check and adjust the access rights of the Firestore Database (Cloud Firestore).
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if request.auth != null;
    }
  }
}

Screens

screen-01screen-02screen-03screen-04screen-05screen-07

🏆 Awards

Ranking #Dev: Global TOP 200 (Certificate)

drawing

Languages: Swift, Shell, Database.

🚀 Developer Roadmap

Contacts

I have a clear focus on time-to-market and don't prioritize technical debt. And I took part in the Pre-Sale/RFX activity as a System Architect, assessment efforts for Mobile (iOS-Swift, Android-Kotlin), Frontend (React-TypeScript) and Backend (NodeJS-.NET-PHP-Kafka-SQL-NoSQL). And I also formed the work of Pre-Sale as a CTO from Opportunity to Proposal via knowledge transfer to Successful Delivery.

🛩️ #startups #management #cto #swift #typescript #database

📧 Email: [email protected]

👋 LinkedIn: https://linkedin.com/in/sergeyleschev

👋 Twitter: https://twitter.com/sergeyleschev

👋 Github: https://github.com/sergeyleschev

🌎 Website: https://sergeyleschev.github.io

🌎 DEV Community: https://dev.to/sergeyleschev

ALT: SIARHEI LIASHCHOU

social-network's People

Contributors

sergeyleschev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

social-network's Issues

Keeps Crashing

I added all the necessary files, and I also added all the right firebase packages. Each time I try to view the canvas, it loads for a few seconds and then crashes. I tried running the build, and it was just a white screen. There are no errors. Anyone know why this is happening?

Argument passed to call that takes no arguments

func fetchUser(withUid uid: String, completion: @escaping(User) -> Void) {
    Firestore.firestore().collection("users")
        .document(uid)
        .getDocument { snapshot, _ in
            guard let snapshot = snapshot else { return }
            var user: User
            
            do {
                user = try snapshot.data(as: User.self)
            } catch {
                print ("Error fetchUser: \(error)")
                return
            }
            
            completion(user)
        }
}

Screenshot 2024-05-17 at 11 21 08 AM

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.