This Instagram Clone was built using Next.js and Sanity.io. This stack includes - Next.js, React.js, Zustand, Google Login, Sanity.io, Netlify, and Tailwind CSS.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
To get a local copy up and running follow the steps below.
-
Create a Google Cloud project and generate an API Token.
-
Sign up for Sanity.io and create a project. After creating a project generate and API Key.
-
Clone the repo
git clone https://github.com/dontrellthedeveloper/instagram-nextjs-sanity.git
-
Install NPM packages
npm install
-
Enter values in
.env
fileNEXT_PUBLIC_SANITY_TOKEN='{put your Sanity API key here}' NEXT_PUBLIC_GOOGLE_API_TOKEN='{put your Google API key here}' NEXT_PUBLIC_BASE_URL='http://localhost:3000'
You can sign up using your google email address. After signing up, you can fully interact with the application by liking posts, commenting on posts, and following users. You can also gain followers if someone follows your account.
As a user, you also have the ability to upload your own photos to the application. You can add a caption and get comments from other users on your posts.
For more examples, please take a look at the application
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Dontrell Washington - @dontrellthedev_ - [email protected]
Project Link: https://github.com/dontrellthedeveloper/instagram-nextjs-sanity