Giter Site home page Giter Site logo

cinematxt's Introduction

CinemaTxt

CinemaTxt is a movie ticket booking website built with Next.js, allowing users to easily order tickets for currently playing movies. This repository contains the source code and project files for the CinemaTxt website.

Features

  • Browse for currently playing movies.
  • View movie details such as title, synopsis, ratings, and ticket price.
  • Select preferred seats and book tickets.
  • Secure payment processing for ticket purchases.
  • User registration and authentication system.

Technologies Used

  • Next.js framework for server-rendered React applications.
  • React for building the user interface.
  • TypeScript for static typing.
  • Node.js for server-side JavaScript runtime.
  • Tailwind CSS for styling the components.
  • MySQL database for storing movie and user information.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/cinematxt.git
  1. Install the required dependencies:
cd cinematxt
npm install
  1. Set up the database:

Create a MySql database for the project. Update the database configurations url in the environment variables or .env file. Example :

DATABASE_URL="mysql://root@localhost:3306/cinematxt"
  1. Migrate and generate prisma client in your project
  • Migrate prisma
npx prisma migrate dev --name init
  • Generate Prisma client
npx prisma generate
  1. Run the development server: You can run the development server by using this command
npm run dev

Open your web browser and visit http://localhost:3000 to access the CinemaTxt website.

Learn More

To learn more about Next.js and Prisma usage in this web take a look at the following resources:

cinematxt's People

Contributors

rizfi123 avatar

Stargazers

Rizfi Ferdiansyah avatar

Watchers

Rizfi Ferdiansyah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.