Wallipy is a React application that fetches and displays images from various subreddits. Users can save and like images, search a custom subreddit, and manage their liked posts. Authenticated users can also toggle the display of NSFW content.
- Fetches and displays images from different subreddits.
- Supports different categories of subreddits, including anime, AI engines, and wallpapers.
- Allows searching for a custom subreddit.
- Displays images randomly and filters NSFW content based on user preferences.
- Allows users to log in and log out using Auth0 authentication.
- Allows authenticated users to save and like images.
- Provides a Liked Posts section for authenticated users to manage their liked posts.
- Downloads images upon user request.
- Clone the repository:
git clone https://github.com/tricticle/wallipy
- Navigate to the project directory:
cd wallipy
- Install the dependencies:
npm i
- create .env file and add your auth0 credentails
REACT_APP_AUTH0_DOMAIN=your_auth0_domain
REACT_APP_AUTH0_CLIENT_ID=your_auth0_client_id
MONGODB_URI_APP=your_mongodb_uri
REACT_APP_SERVER_URL=your_api(vercel-serverless)
- Start the development server:
The application will be available at http://localhost:3000.
-
Log in to access the full functionality of the application.
-
Choose a category or enter a custom subreddit to fetch and display images.
-
Toggle the "Show NSFW" option to filter NSFW content.
-
Save images by clicking the "Save" button.
-
Like images by clicking the "Like" button. Liked images will be stored and can be managed in the Liked Posts section.
-
Download images by clicking the "Save" button and selecting the download option.
-
Log out to exit the application.
The application relies on the following dependencies:
- React: A JavaScript library for building user interfaces.
- react-hooks/exhaustive-deps: A React lint rule plugin to ensure exhaustive dependencies for
useEffect
hooks. - @auth0/auth0-react: An SDK for integrating Auth0 authentication into React applications.
All credits for the artwork go to the talented creators on Reddit.