Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A movie tickets booking and management application using Flutter and NestJS. Flutter BLoC pattern and RxDart, rx_redux, stream_loader for state management. Firebase authentication, socket.io. Backend using NestJS, MongoDB database and Neo4j. Recommendation using Neo4j database and Collaborative filtering via Cypher query. Movie ticket booking fl…

License

NotificationsYou must be signed in to change notification settings

hoc081098/Movie-Ticket-Booking

Repository files navigation

A movie tickets booking and management application usingFlutter andNestJS.

All Contributors

Codacy BadgeHits

Features

  • Flutter BLoC pattern andRxDart,rx_redux,stream_loader for state management.
  • Firebase authentication, socket.io.
  • Backend using NestJS, MongoDB database and Neo4j.
  • Recommendation using Neo4j database and Collaborative filtering via Cypher query.

Directory structure

project│   README.md│└───Backend│   └───main                   <- [Backend]│       │   ...│       │   ...│   └───Docs│   │   Database.zip│   │   Diagram.png│   │   diagram_sql.png│└───MobileApp│   └───datn                   <- [User mobile app]│   │   │   ...│   │   │   ...│   ││   └───movie_admin            <- [Admin, staff mobile app]│       │   ...│       │   ...│└───Screenshots    │   Screenshot_add_card.png    │   Screenshot_add_comment.png    │   ...

Setup and run

Click to expand
  • Download APK

  • Setup and run

    • Backend (You can use my url:https://datn-081098.herokuapp.com/)

      • InstallNode.js,NestJS

      • InstallMongoDB,Neo4j

      • CreateStripe secret API key, CreateMovieDb api key

      • Create MongoDB database, (eg.movieDb), and create Neo4j database.

      • Start MongoDB and Neo4j.

      • Create .env file./Backend/main/.env has following structure:

        MONGODB_URL=mongodb://localhost:27017/movieDbMOVIE_DB_API_KEY=movie_db_api_keySTRIPE_SECRET_API=stripe_secret_api_keyEMAIL=your_email@gmail.comEMAIL_PASSWORD=your_email_passwrodNEO4J_URL=bolt://localhost:7687NEO4J_USER=neo4jNEO4J_PASSWORD=password
      • Installation dependencies

        $ npm install
      • Running the Backend app

        # development$ npm run start# watch mode$ npm run start:dev# production mode$ npm run start:prod
      • Seed data (Put headers in your requestAuthorization: Bearer {{token}}, token can be get from Mobile App after successfully login).

        • Movies:POST http://localhost:3000/movies/seed.
        • Theatres:POST http://localhost:3000/theatres/seed.
        • Seats:POST http://localhost:3000/seats/seed, body:{"id": theatreId}.
        • Show times:POST http://localhost:3000/show-times/seed.
        • Tickets:POST http://localhost:3000/seats/seed-tickets.
        • Transfer data from MongoDB to Neo4j:POST http://localhost:3000/neo4j/transfer.
        • Comments(optional):POST http://localhost:3000/comments/seed.
        • Promotions(optional):POST http://localhost:3000/promotions/seed.
    • Flutter

      • InstallFlutter.
      • Usingstable channel:
        ❯ flutter channel stable❯ flutter upgrade
      • Flutter version:
        ❯ flutter --versionFlutter 2.0.0 • channel stable • https://github.com/flutter/flutter.gitFramework • revision 60bd88df91 (8 days ago) • 2021-03-03 09:13:17 -0800Engine • revision 40441def69Tools • Dart 2.12.0
      • Install all the packages by:
        ❯ flutter packages get
      • Create .env file./MobileApp/datn/.prod.env and./MobileApp/movie_admin/.env has following structure:
        BASE_URL=datn-081098.herokuapp.comWS_URL=https://datn-081098.herokuapp.com/WS_PATH=/socketPLACES_API_KEY=your_places_api_key
      • Run app on real devices or emulator by:
        ❯ flutter run

Screenshots

User mobile app

View Screenshots

Neo4j Graph

View Images


Collaborative filtering


Jaccard index (Jaccard similarity coefficient)


Weighted content

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Petrus Nguyễn Thái Học

💻📖🚧

Phong

💻

Gunasekhar Ravilla

🐛🤔

This project follows theall-contributors specification. Contributions of any kind welcome!

About

A movie tickets booking and management application using Flutter and NestJS. Flutter BLoC pattern and RxDart, rx_redux, stream_loader for state management. Firebase authentication, socket.io. Backend using NestJS, MongoDB database and Neo4j. Recommendation using Neo4j database and Collaborative filtering via Cypher query. Movie ticket booking fl…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp