Skip to content

Mock movie database with add/update/delete/read (CRUD) functionality, Built with Next.js, Chakra-UI, Firebase, JSON Server and written in Typescript.

License

Notifications You must be signed in to change notification settings

miraajkadam/Movies-DB

Repository files navigation

Next CI

Movies-DB

Mock movie database with add/update/delete/read (CRUD) functionality.

Built With

Getting Started

  • 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 

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn run build

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.

yarn start

Runs the app in Next.js production server.
Open http://localhost:3000 to view it in the browser.

yarn run lint

Sets up Next.js' built-in ESLint configuration

License

Distributed under the GPL-2.0 License. See LICENSE.txt for more information

About

Mock movie database with add/update/delete/read (CRUD) functionality, Built with Next.js, Chakra-UI, Firebase, JSON Server and written in Typescript.

Topics

Resources

License

Stars

Watchers

Forks