Skip to content

Synergy is a social media application to check up on your friends. No ads or sponsorships, just real connections.

Notifications You must be signed in to change notification settings

Powerscore/Synergy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synergy

Synergy is a social media application to check up on your friends. No ads or sponsorships, just real connections. It is a React Native application designed to provide a seamless experience for users to interact with posts, view profiles, and create new content. It utilizes the GoRest API for fetching and managing user-generated posts and comments.

Features

  • Home Screen: Displays a list of posts fetched from the GoRest API, with infinite scrolling.
  • Profile Screen: Shows user details, including name, email, gender, and status.
  • Post Details Screen: Provides detailed information about a selected post along with its comments.
  • New Post Screen: Allows users to create a new post.
  • Dark Mode Support: Automatically adjusts UI based on the device's theme settings.

Installation

To run the app locally, follow these steps:

  1. Clone the repository:

    gh repo clone Powerscore/Synergy
  2. Navigate to the project directory:

    cd Expo/synergy
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Use an emulator or a physical device to run the app.

› Press s │ switch to development build

› Press a │ open Android › Press w │ open web

› Press j │ open debugger › Press r │ reload app › Press m │ toggle menu › shift+m │ more tools › Press o │ open project code in your editor

› Press ? │ show all commands

Or Scan The QR Code From your Expo Go App to preview on your physical device.

Screenshots

Home Screen

Synergy Home Screen Light Mode Synergy Home Screen Dark Mode

Profile Screen

Profile Light Mode Profile Dark Mode

Post Details Screen

Post Details Light Mode Post Details Dark Mode

New Post Screen

New Post Light Mode New Post Dark Mode

Technologies Used

  • React Native: Cross-platform mobile development framework.
  • Expo Router: Navigation and routing solution for React Native.
  • Tailwind CSS (twrnc): Styling framework for React Native.
  • GoRest API: Provides sample user data and posts.

API Reference

The app interacts with the GoRest API for fetching and posting data:

  • Fetch Posts:
    GET https://gorest.co.in/public/v2/posts?page=1
  • Fetch Post Details:
    GET https://gorest.co.in/public/v2/posts/{id}
  • Fetch User Profile:
    GET https://gorest.co.in/public/v2/users/{user_id}
  • Create a Post:
    POST https://gorest.co.in/public/v2/users/{user_id}/posts

Contribution

Contributions are welcome! Feel free to submit a pull request or open an issue.

About

Synergy is a social media application to check up on your friends. No ads or sponsorships, just real connections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published