Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaheaa/movie-bookie
https://github.com/vaheaa/movie-bookie
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaheaa/movie-bookie
- Owner: VaheAA
- Created: 2024-07-03T22:58:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T09:53:07.000Z (6 months ago)
- Last Synced: 2024-11-11T03:52:04.814Z (2 months ago)
- Language: TypeScript
- Homepage: https://movie-bookie.vercel.app
- Size: 331 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Movies Project
## Table of Contents
- [Overview](#overview)
- [Demo](#demo)
- [Technologies](#technologies)
- [Installation](#installation)
- [Usage](#usage)
- [Deployment](#deployment)
- [Scripts](#scripts)
- [License](#license)## Overview
This project is a web application built using Vue for the frontend and Node.js (Express) with TypeScript and Sequelize for the backend. The application manages movies data and provides an interface for users to view and interact with the movie listings, select and book seats. As well as uses cron job to modify the expired bookings and seats.
## Demo
You can view a live demo of the project [here](https://movie-bookie.vercel.app/).
## Technologies
### Frontend
- Vue 3
- TypeScript
- Vite
- Pinia
- Vue Router
- PrimeVue
- TailwindCSS### Backend
- Node.js
- Express
- TypeScript
- Sequelize
- PostgreSQL## Installation
1. Clone the repository:
```bash
git clone
cd movies
```### Frontend
2. Navigate to the client directory and install dependencies:
```bash
cd client
npm install
```### Backend
3. Navigate to the api directory and install dependencies:
```bash
cd api
npm install
```## Usage
### Frontend
1. Run the development server:
```bash
npm run dev
```2. Build the project for production:
```bash
npm run build
```3. Preview the production build:
```bash
npm run preview
```### Backend
1. Run the development server:
```bash
npm run dev
```2. Build the project for production:
```bash
npm run build
```3. Start the production server:
```bash
npm start
```4. Seed the database:
```bash
npm run seed
```## Deployment
### Frontend
The frontend is deployed to Vercel. You can view the live demo [here](https://movie-bookie.vercel.app/).
### Backend
The backend API is deployed to Railway App.
## Scripts
### Frontend Scripts
- `dev`: Runs the Vite development server.
- `build`: Type checks the code and builds the project for production.
- `preview`: Previews the production build.
- `type-check`: Runs type checking using `vue-tsc`.
- `lint`: Runs ESLint on the project files and fixes issues.
- `format`: Formats the code using Prettier.### Backend Scripts
- `build`: Builds the project for production using TypeScript.
- `start`: Starts the production server.
- `dev`: Runs the development server with Nodemon.
- `seed`: Seeds the database using Sequelize CLI.
- `lint:fix`: Runs ESLint on the project files and fixes issues.