https://github.com/runtime-error786/movie-app
https://github.com/runtime-error786/movie-app
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/runtime-error786/movie-app
- Owner: runtime-error786
- Created: 2023-11-12T08:57:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T05:47:14.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T08:22:16.390Z (12 months ago)
- Language: JavaScript
- Size: 215 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
In that movie app, there are three roles: guest, customer, and admin.
Guest: Can only view the home page.
Customer: Can purchase movies, check their profile.
Admin: Can update and delete movies, as well as view profiles.## Step 1: Start the Metro Server
git clone https://github.com/your-username/folder_name.git
First, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.
To start Metro, run the following command from the _root_ of your React Native project:
```bash
# using npm
npm start
# OR using Yarn
yarn start
```
## Step 2: Start your Application
Let Metro Bundler run in its _own_ terminal. Open a _new_ terminal from the _root_ of your React Native project. Run the following command to start your _Android_ or _iOS_ app:
### For Android
```bash
# using npm
npm run android
# OR using Yarn
yarn android
```
### For iOS
```bash
# using npm
npm run ios
# OR using Yarn
yarn ios
```
If everything is set up _correctly_, you should see your new app running in your _Android Emulator_ or _iOS Simulator_ shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
1. Open `App.tsx` in your text editor of choice and edit some lines.
2. For **Android**: Press the R key twice or select **"Reload"** from the **Developer Menu** (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!
For **iOS**: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!
## Congratulations! :tada:
You've successfully run and modified your React Native App. :partying_face:
Guest page:

Sign in:

Signup:

Customer page:

Card pic:

Admin:

Purchase:

Profile:

Add movie:

Add new movie:

Deleet movie:
