Giter Club home page Giter Club logo

dgv's Introduction

Xây dựng api cho ứng dụng đặt vé xem phim bằng Java Srping Boot

Mô tả dự án

Các chức năng chính của hệ thống

  • Lấy dữ liệu thông tin phim đang chiếu

    http://localhost/movies/now

  • Lấy dữ liệu thông tin phim sắp chiếu

    http://localhost/movies/future

  • Lấy dữ liệu thông tin các suất chiếu đặc biệt

  • Lấy thông tin các suất chiếu

    localhost/schedule/movie_id/date

    • Trong đó movie_id là id của bộ phim, date là ngày (định dạng YYYY-mm-dd) có suất chiếu của bộ phim movie_id.
  • Thực hiện đặt vé

  • Đăng kí, đăng nhập

  • Bấm vào đây để xem các api và chạy thử.

Thực hiện cài đặt

  • Thực hiện lệnh

    git clone https://github.com/lathanhhanh97/dgv.git

  • Có thể sử dụng các IDE hỗ trợ Java Spring Boot để chạy ứng dụng

Các lỗi gặp phải nếu có

Lỗi bị chiếm port và không chạy được

  • Cách sửa: thay đổi port trong file application.properties

    server.port=80

Không kết nối được đến CSDL

  • Cách fix lỗi: sử dụng database.sql import vào phpmyadmin và cấu hình lại kết nối trong file application.properties

Các việc trong tuần tới

  • Tiến hành ghép api với front-end

dgv's People

Contributors

lathanhhanh avatar lathanhhanh97 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dgv's Issues

issues #8

Xóa các router không sử dụng, các function.
Tối ưu code

issues #5

chỉnh sửa lại cấu trúc trả về ghế thêm hàng và số ghế

issues #1

Thực hiện xóa các file khi deloy trên heroku

  • data.csv
  • data.yml
  • data.sql
  • schema-data.sql
    Update pom.xml

issues #6 fix book ticket

Sửa lại phần book vé chỉ khi đăng nhập thành công mới được thực hiện đặt vé

issues #10

thực hiện thêm jwt khi đặt vé và thay đổi trạng thái ghế khi đã đặt vé

issues #3

Hoàn thiện chức năng đăng kí

issues #2

Cập nhật danh sách ghế theo id suất chiếu schedule_id

  • Thêm trạng thái của ghế

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.