π Table of Contents
- π€ Introduction
- βοΈ Tech Stack
- π Features
- π€Έ Quick Start
- πΈοΈ Snippets
- π Links
- π More
This repository contains the code corresponding to an in-depth tutorial available on our YouTube channel, JavaScript Mastery.
If you prefer visual learning, this is the perfect resource for you. Follow our tutorial to learn how to build projects like these step-by-step in a beginner-friendly manner!
Built with React Native for seamless user experiences, Animatable for captivating animations, and integrated with the dependable backend systems of Appwrite, this app showcases impressive design and functionality, enabling seamless sharing of AI videos within the community.
If you're getting started and need assistance or face any bugs, join our active Discord community with over 27k+ members. It's a place where people help each other out.
- React Native
- Expo
- Nativewind
- Animatable
- Appwrite
π Onboarding Screen: Engaging graphics and clear instructions welcome users to the app.
π Robust Authentication & Authorization System: Secure email login safeguards user accounts.
π Dynamic Home Screen with Animated Flat List: Smoothly animated flat list showcases the latest videos for seamless browsing.
π Pull-to-Refresh Functionality: Users can refresh content with a simple pull gesture for up-to-date information.
π Full-Text Search Capability: Efficiently search through videos with real-time suggestions and instant results.
π Tab Navigation: Navigate between sections like Home, Search, and Profile with ease using tab navigation.
π Post Creation Screen for Uploading Media: Upload video and image posts directly from the app with integrated media selection.
π Profile Screen with Detailed Insights: View account details and activity, including uploaded videos and follower count, for a personalized experience.
π Responsiveness: Smooth performance and adaptability across various devices and screen sizes for a consistent user experience.
π Animations: Dynamic animations using the Animatable library to enhance user interaction and engagement throughout the app's UI.
and many more, including code architecture and reusability
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
git clone https://github.com/adrianhajdin/aora.git
cd aora
Installation
Install the project dependencies using npm:
npm install
Running the Project
npm start
Expo Go
Download the Expo Go app onto your device, then use it to scan the QR code from Terminal and run.
tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{js,jsx,ts,tsx}", "./components/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
primary: "#161622",
secondary: {
DEFAULT: "#FF9C01",
100: "#FF9001",
200: "#FF8E01",
},
black: {
DEFAULT: "#000",
100: "#1E1E2D",
200: "#232533",
},
gray: {
100: "#CDCDE0",
},
},
fontFamily: {
pthin: ["Poppins-Thin", "sans-serif"],
pextralight: ["Poppins-ExtraLight", "sans-serif"],
plight: ["Poppins-Light", "sans-serif"],
pregular: ["Poppins-Regular", "sans-serif"],
pmedium: ["Poppins-Medium", "sans-serif"],
psemibold: ["Poppins-SemiBold", "sans-serif"],
pbold: ["Poppins-Bold", "sans-serif"],
pextrabold: ["Poppins-ExtraBold", "sans-serif"],
pblack: ["Poppins-Black", "sans-serif"],
},
},
},
plugins: [],
};
Font Loaded
const [fontsLoaded, error] = useFonts({
"Poppins-Black": require("../assets/fonts/Poppins-Black.ttf"),
"Poppins-Bold": require("../assets/fonts/Poppins-Bold.ttf"),
"Poppins-ExtraBold": require("../assets/fonts/Poppins-ExtraBold.ttf"),
"Poppins-ExtraLight": require("../assets/fonts/Poppins-ExtraLight.ttf"),
"Poppins-Light": require("../assets/fonts/Poppins-Light.ttf"),
"Poppins-Medium": require("../assets/fonts/Poppins-Medium.ttf"),
"Poppins-Regular": require("../assets/fonts/Poppins-Regular.ttf"),
"Poppins-SemiBold": require("../assets/fonts/Poppins-SemiBold.ttf"),
"Poppins-Thin": require("../assets/fonts/Poppins-Thin.ttf"),
});
useEffect(() => {
if (error) throw error;
if (fontsLoaded) {
SplashScreen.hideAsync();
}
}, [fontsLoaded, error]);
if (!fontsLoaded && !error) {
return null;
}
Dummy Videos for Appwrite
const videos = [
{
title: "Get inspired to code",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660eff632e9b02fe90e3/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f004955f51e7e3212/view?project=660d0e00da0472f3ad52",
prompt:
"Create a motivating AI driven video aimed at inspiring coding enthusiasts with simple language",
},
{
title: "How AI Shapes Coding Future",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f0294e36d80abfaa9/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f032718759c0250ae/view?project=660d0e00da0472f3ad52",
prompt: "Picture the future of coding with AI. Show AR VR",
},
{
title: "Dalmatian's journey through Italy",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f08374f22dab6ed8a/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f093a03c20c7b2d12/view?project=660d0e00da0472f3ad52",
prompt:
"Create a heartwarming video following the travels of dalmatian dog exploring beautiful Italy",
},
{
title: "Meet small AI friends",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f0aef261367cdc1f5/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660f0b7855304dd4f802/view?project=660d0e00da0472f3ad52",
prompt:
"Make a video about a small blue AI robot blinking its eyes and looking at the screen",
},
{
title: "Find inspiration in Every Line",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd243473318c9dde1/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd2cec9eb0298c9ac/view?project=660d0e00da0472f3ad52",
prompt:
"A buy working on his laptop that sparks excitement for coding, emphasizing the endless possibilities and personal growth it offers",
},
{
title: "Japan's Blossoming temple",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd5105ae00135f9f1/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd543cc4792ba0611/view?project=660d0e00da0472f3ad52",
prompt: "Create a captivating video journey through Japan's Sakura Temple",
},
{
title: "A Glimpse into Tomorrow's VR World",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd68ced2adc48ace2/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd6b103374105e099/view?project=660d0e00da0472f3ad52",
prompt: "An imaginative video envisioning the future of Virtual Reality",
},
{
title: "A World where Ideas Grow Big",
thumbnail:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd7cb71f83e85ec89/preview?width=2000&height=2000&gravity=top&quality=100&project=660d0e00da0472f3ad52",
video:
"https://cloud.appwrite.io/v1/storage/buckets/660d0e59e293896f1eaf/files/660fd84ce8c5ff020f71/view?project=660d0e00da0472f3ad52",
prompt:
"Make a fun video about hackers and all the cool stuff they do with computers",
},
];
Assets and constants used in the project can be found here
Advance your skills with Next.js 14 Pro Course
Enjoyed creating this project? Dive deeper into our PRO courses for a richer learning adventure. They're packed with detailed explanations, cool features, and exercises to boost your skills. Give it a go!
![Project Banner](https://private-user-images.githubusercontent.com/151519281/289158181-557837ce-f612-4530-ab24-189e75133c71.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzOTI1MjEsIm5iZiI6MTcyNDM5MjIyMSwicGF0aCI6Ii8xNTE1MTkyODEvMjg5MTU4MTgxLTU1NzgzN2NlLWY2MTItNDUzMC1hYjI0LTE4OWU3NTEzM2M3MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QwNTUwMjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMGI4YTMzNmI5ZTRmY2RmYTA2OTNiNTc3NjI0NTkxNjUxYThiNGM0Mjk5YzA3ZDlhMTA4NDgwOWFkMGQ5N2YyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ZxyBdhz_4J7aJ2vD-2dZZztQ3B6iWOh9t0RgmDj_vNA)
Accelerate your professional journey with the Expert Training program
And if you're hungry for more than just a course and want to understand how we learn and tackle tech challenges, hop into our personalized masterclass. We cover best practices, different web skills, and offer mentorship to boost your confidence. Let's learn and grow together!
![Project Banner](https://private-user-images.githubusercontent.com/151519281/289158263-fed352ad-f27b-400d-9b8f-c7fe628acb84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzOTI1MjEsIm5iZiI6MTcyNDM5MjIyMSwicGF0aCI6Ii8xNTE1MTkyODEvMjg5MTU4MjYzLWZlZDM1MmFkLWYyN2ItNDAwZC05YjhmLWM3ZmU2MjhhY2I4NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QwNTUwMjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNmU5OWQ1NDY0MTFiNTIxMmExY2UxZGRmMTU5NzAzNmI4YTE3MDhmNjc4NTY5ZTZjMDZhMGEyNDQ3MTNiZWQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6cMDtzhQUJpCE61aKMCnAjijsOfdqUx05I-8Mh8vTlc)