Skip to content

chaerulmarwan20/tickitz-film-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend - Tickitz

Tickitz-2

Table of Contents

Introduction

The Tickitz application is a web application created using node.js and its framework called express.js. This application will make it easier for users to order or purchase tickets to watch movies in their favorite cinemas. This application will also allow users to find out the details of a film, such as the players, the director and even the synopsis. So, you can see in advance who the players are, who is the director who made the film, and what the synopsis looks like.

Features

  • JWT authentication

  • Multilevel authorization

  • Nodemailer for email verification

  • Upload image using multer

  • Redis server

  • Form validation using joi

  • CRUD for all tables required in the application

Built With

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/chaerulmarwan20/tickitz-film-api.git
cd tickitz-film-api
  1. Install package
npm install
  1. Create a new database with a name tickitz-film and import tickitz-film.sql from this repository

  2. Create .env file

# Host & Port
HOST=
PORT=
PORT_FRONTEND=

# Database
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=tickitz-film

# Secret Key
SECRET_KEY=

# Email
EMAIL_USER=
EMAIL_PASS=

# Redis
REDIS_PORT=6379
  1. Run application
npm run dev

Or

npm start

Documentation

Run in Postman

Link

Author

About

RESTful API for Tickitz Film Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages