Mock movie database with add/update/delete/read (CRUD) functionality.
- Next.js
- Chakra-UI
- Firebase for online Database
- JSON Server for local DB
- Written in Typescript
- Step 1: Clone this repository.
- Step 2: Change your directory to the clone.
cd <folder_name>
- Step 3: Install all dependencies
yarn
- Step 4: Setup Firebase with your credentials and add it to the environment variables.
touch .env.local
echo NEXT_PUBLIC_FIREBASE_URL=[your-firebase-endpoint] >> .env.local
echo NEXT_PUBLIC_API_BASE=/api/movies >> .env.local
- Step 5: Run the dev server locally.
yarn dev
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds and optimizes the application for production usage.
It correctly bundles React with Next in production mode and optimizes the build for the best performance.
Runs the app in Next.js production server.
Open http://localhost:3000 to view it in the browser.
Sets up Next.js' built-in ESLint configuration
Distributed under the GPL-2.0 License. See LICENSE.txt
for more information