The Pin Sharing App allows users to create, share, and view pins. Users can also update their pins and share them with others. The application uses OAuth for authentication via Google, ensuring secure and easy sign-in.
- Create Pins: Users can create and save new pins with titles, descriptions, and images.
- Share Pins: Users can share their pins with others, making them visible to anyone.
- View Pins: Users can browse and view pins shared by others.
- Update Pins: Users can update the details of their pins, including title, description, and images.
- OAuth with Google: Users can sign in using their Google accounts, providing a seamless and secure authentication experience.
- React: The frontend of the application is built using React, providing a dynamic and responsive user interface.
- Sanity: The backend is powered by Sanity, a headless CMS that manages content and provides a flexible and scalable data management solution.
- Node.js and npm installed on your machine.
- A Google account for OAuth authentication.
-
Clone the repository:
git clone https://github.com/abhay1704/pinnix.git cd pin-sharing-app
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory and add your Google OAuth client ID and Sanity project ID:REACT_APP_CLIENT_ID=your-google-client-id REACT_APP_CLIENT_SECRET=your-google-client-secret REACT_APP_SANITY_PROJECT_ID=your-sanity-project-id REACT_APP_SANITY_TOKEN=your-sanity-token REACT_APP_UNSPLASH_CLIENT=yoursplashclientid
- Create a
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to use the app.
Feel free to submit issues and pull requests. If you have suggestions or improvements, please open an issue to discuss them.
For questions or feedback, you can reach out to:
- Email: abhaypratapninth@gmail.com
- GitHub: abhay1704