Everyone enjoys a good flix. The question is, what to watch? Any-Time-Flix is a solution to this issue, allowing you to view both new and old movies. Additionally, you can create a watchlist, liked movies, and a playlist so the user can be just a click away from all the movies they love.
-
Fork and Clone this repo:
git clone https://github.com/your-username/any-time-flix.git
-
Install Dependencies
npm install
-
Start Backend Server: Make sure the backend server is running using nodemon.backend
-
Create .env file: Inside your front-end repo, create a .env file. Add the following line to the .env file (assuming your server is running on port 8000):
NEXT_PUBLIC_SERVER_URL=http://localhost:8000
-
Run the Application
npm run dev
-
Access the App: Open your web browser and navigate to the URL shown in the terminal (usually localhost:3000).
- Home(Page.js)
- Explore(Explore.js)
- Sidebar(Sidebar.js)
- Popular(Results.js)
- Top Rated(Results.js)
- Now Playing(Results.js)
- Upcoming(Results.js)
- Sidebar(Sidebar.js)
- Account(Account.js)
- Sidebar(ProfileSidbar.js)
- Profile(Profile.js)
- Logout(Profile.js)
- Login(Login.js)
- Logout(Profile.js)
- Watched List(Results.js)
- Watched(Results.js)
- Liked(Results.js)
- Playlist(Results.js)
- Profile(Profile.js)
- Sidebar(ProfileSidbar.js)
- Homepage(Homepage.js)
- Login(Login.js)
- Account(Account.js)
- Sign Up(Signup/Page.js)
- New User(New/Page.js)
- Login(Login.js)
- Explore(Explore.js)
├───.next
│ └───...
├───node_modules
│ └───...
|
├───public
| next.svg
| vercel.svg
|
└───src
| └────app
| │ favicon.ico
| │ globals.css
| │ layout.js
| │ page.js
| │ page.module.css
| │ profile.module.css
| │ signup.module.css
| │
| ├───components
| │ │ Account.js
| │ │ Explore.js
| │ │ Homepage.js
| │ │ MovieDetails.js
| │ │ MovieDetailsModal.js
| │ │ Nav.js
| │ │ Results.js
| │ │ Search.js
| │ │ Tabs.js
| │ │ Toast.js
| │ │
| │ ├───account
| │ │ Profile.js
| │ │ ProfileSidebar.js
| │ │ UserList.js
| │ │
| │ └───explore
| │ MovieDetailsDataBox.js
| │ Sidebar.js
| │
| ├───styles
| │ Explore.module.css
| │ Homepage.module.css
| │ MovieDetails.module.css
| │ MovieDetailsModal.module.css
| │ Nav.module.css
| │ Results.module.css
| │ Search.module.css
| │ Tabs.module.css
| │ Toast.module.css
| │
| ├───users
| │ ├───login
| │ │ page.js
| │ │ page.module.css
| │ │
| │ ├───new
| │ │ page.js
| │ │
| │ └───signup
| │ page.js
| │
| └───utils
| handleLogout.js
| resultsProps.js
| setAuthToken.js
| .env
| .eslintrc.json
| .gitignore
| jsconfig.json
| next.config.js
| notes.md
| package-lock.json
| package.json
└ README.md