An open API service indexing awesome lists of open source software.

https://github.com/runtime-error786/movie-app


https://github.com/runtime-error786/movie-app

Last synced: 10 months ago
JSON representation

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:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/96ed4b5e-027a-4bf0-b6ff-67bf83f3af72)

Sign in:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/59ef13e7-7e48-48b9-9dda-ccd81c59a560)

Signup:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/616357ed-526e-4026-a4eb-3793b2a260b8)

Customer page:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/46744657-55bc-4569-8f28-82b5aaf07201)

Card pic:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/f16c4545-17fc-45cb-a570-ad3de795f399)

Admin:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/37bc6d13-40a3-4b9f-91b8-b387b6ed2fc7)

Purchase:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/227fe2de-1522-4b37-ac86-63c1305f58f7)

Profile:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/5927b7bf-c72a-49da-be48-ef5b9f6cc045)

Add movie:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/f4c427f3-844f-46fc-96d0-c90d6998f253)

Add new movie:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/5d641db2-02bc-49bf-b6f6-b27f04847ed4)

Deleet movie:
![image](https://github.com/runtime-error786/Movie-app/assets/123109871/6e325e62-4e6e-46ef-8f83-8bb33049d0bc)