Frontend part of a social network app which I made as a final project submission for The Odin Project.
- Register / Log in / Log out
- Search user
- Display profile
- Edit own profile
- Request friend
- Accept friend
- Reject friend
- Remove friend
- Create post
- Display own feed
- Like/unlike post
- Comment post
- Log in with Facebook
- Integration tests (react-testing-library)
- E2E tests (Cypress)
- PWA
git clone https://github.com/michalosman/social-network.git
cd social-network
VITE_SERVER_URL=<Address of the server, e.g. http://localhost:5000/>
VITE_CLOUDINARY_URL=<Cloudinary API base URL, e.g. https://api.cloudinary.com/v1_1/{cloud_name}/image/upload>
VITE_CLOUDINARY_UPLOAD_PRESET=<Cloudinary upload preset>
VITE_TEST_USER_ID=<Test user ID (optional)>
npm i
npm run build
npm run preview