A Full Stack Social Media Application totally responsive using React, Tailwind, Sanity.io and Google Authentication.
- Google login authentication
- Photo/graphic upload app with darkmode/lightmode depending on if the users computer/phone is set to dark or light mode.
- The Search Bar works fantastic.
- You can upload an image, add a title, a description, a link and a category dropdown to select from so it gets added to that category.
- Anyone can leave a comment on the photo/graphic you uploaded.
- The photos/graphics can be Saved and show up on your profile page under Saved.
- On your profile page you can logout from the upper right corner logout icon.
- You can save Pins that others posted and even your own.
- You can view other users profiles and see what they posted and saved.
- Also notice you can delete any of your posts/pins but not anyone else's.
- Add pins by clicking on the plus in the right top of app to upload your image and details.
- If you don't want to add a link while adding the title and description just type a letter and it won't show up.
First off let's setup our backend with Sanity.io I reccomend downloading the zip or cloning the whole project and inside the Terminal cd into backend_sanity and run:
npm install
or
yarn
npm install
or
yarn
cd ..
cd backend_sanity
npm install --global @sanity/cli &&
sanity init
Back in the Terminal press enter on Create new project. It will ask you to name the project, I will name it shareit
Last we will choose Clean project with no predefined schemas and press enter. Now the project default files are being created. Let them be created and finish.
sanity start
You should see Content Studio successfully compiled! Go to http://localhost:3333
Now press Ctrl + c to stop http://localhost:3333
sanity manage
Now it popped up our Sanity Overview page. Close that we don't need that right now, that was just to make sure everything is hooked up and working correctly.
Now it's time to make the 6 schemas needed. Inside the schemas folder inside of the backend_sanity folder.
sanity start