Central Film is a mobile application built with React Native, utilizing MongoDB as the database and the TMDB (The Movie Database) API for movie data. This project is designed as a learning experience to understand the integration of React Native with MongoDB and to explore the functionalities of the TMDB API.
- User Authentication: Create an account and log in to access the app.
- User Profile: Create and edit your profile.
- Movie Browsing: Browse movies using data fetched from the TMDB API.
- Save Movies: Save your favorite movies to your profile.
- Rate Movies: Rate movies and see average ratings.
- Comment on Movies: Leave comments on movies and view comments from other users.
- Frontend: React Native
- Backend: Node.js, Express
- Database: MongoDB
- External API: TMDB API
- Node.js
- MongoDB
- TMDB API Key
-
Clone the repository:
git clone https://github.com/your-username/Central-Film.git cd Central-Film
-
Install dependencies:
yarn install cd client yarn install
-
Set up environment variables:
Create a
.env
file in the root directory and add the following variables:MONGO_URI=your_mongodb_connection_string TMDB_API_KEY=your_tmdb_api_key
-
Run the application:
In the root directory, run:
npm start
This will start both the backend server and the React Native application.
- Make sure you have an Android/iOS emulator installed or a physical device connected.
- Start the React Native development server:
or
npm run android
npm run ios
- Sign Up: Create a new account using your email and a password.
- Log In: Log in with your credentials.
- Browse Movies: Explore movies fetched from the TMDB API.
- Save Movies: Click the save button to add a movie to your profile.
- Rate Movies: Provide your rating for any movie.
- Comment on Movies: Share your thoughts on movies by leaving comments.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under a proprietary license. See the LICENSE file for more details.
For any inquiries or feedback, please reach out to santiagomaruriramos@gmail.com.