- Overview
- Technologies Used
- Features
- Getting Started
- Postman Documentation
- Table Structure
- License
- Contributors
- Related Project
- Report
Tickits is an open-source web application designed to simplify the process of booking movie tickets online. The project aims to provide users with a convenient and user-friendly platform to browse movie listings, select seats, and purchase tickets from the comfort of their homes.
This is rest api repository for tickits-fe
- Authentication & Authorization
- Customer Side: Booking Seat Movies, Profile
- Admin Side: New Movie, Set Cinemas Time, Update Movie, Delete Movie
- Upload Images, Whitelisting JWT
- Node.js
- Express.js
- PostgreSQL (for storing data)
- Cloudinary (for storing images)
- Redis (blacklisting jwt)
- JSON Web Token (authorization)
- Vercel (for deploying)
-
Clone this repository to your local
git clone https://github.com/nyannss/jokopi.git
-
Install dependencies
cd jokopi && npm install
-
Setup environments (you can see in
.env.example
)-
Server port (default 8080)
SERVER_PORT = (put your server port)
-
Database server using postgreSQL
DB_HOST = (put your db host) DB_PORT = (put your port of db host) DB_USER = (put your db username) DB_PASS = (put your db password) DB_NAME = (put your db name)
-
JSON Web Token Secret Key (prefer using random string) [see more information]
JWT_SECRET_KEY = (put your secret key)
-
Redis account [you can create account in here]
REDIS_HOST = (your redis host) REDIS_PORT = (your redis port) REDIS_PASSWORD = (your redis password)
-
Image server using Cloudinary [you can create account in here]
CLOUDINARY_NAME = (put your cloudinary name) CLOUDINARY_KEY = (put your cloudinary key) CLOUDINARY_SECRET = (put your cloudinary secret)
-
SMTP Account
SMTP_EMAIL = (your smtp email) SMTP_PASSWORD = (your smtp password)
-
-
Run project
npm start
You can download the documentation from Postman or JSON File.
If you using JSON File, you can import them into your workspace, its easy
You can download table structure (sql) from this link
For Redis, You just setup and define it to env the database, it will be automatically created by redis.
This project using ISC License
Afif Buchori Project Manager |
Farhan Brillan W Fullstack Developer |
Abdul Latif Rosid Back-end Developer |
Raihan Irvana Front-end Developer |
Zikri Aulia Front-end Developer |
- tickits-fe - Front-end side
Any error report you can pull request or contact: [email protected]