GithubHelp home page GithubHelp logo

cine-magic-backend's Introduction


Cine Magic - Cinema Ticket Booking System

Cine Magic is the backend of a web-based Cinema Ticket Booking System, offering robust server-side logic and API support for the frontend application. This backend system is developed using a variety of cutting-edge technologies and tools to ensure a seamless, efficient, and secure experience for both cinema operators and customers.

Technologies Used

Backend Framework

  • NestJS: A progressive Node.js framework for building efficient and scalable server-side applications.
  • Express: A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

Programming Language

  • Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine, ideal for building fast and scalable network applications.
  • TypeScript: A strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.

Database

  • MongoDB: A NoSQL database designed for high performance, high availability, and easy scalability.
  • Mongoose: An elegant MongoDB object modeling tool designed to work in an asynchronous environment.

Authentication

  • JWT (JSON Web Tokens): A compact, URL-safe means of representing claims to be transferred between two parties.

Communication

  • Web Socket: Enables real-time, bidirectional and event-based communication between the browser and the server.
  • Email Integration: Using Gmail SMTP for reliable email delivery.
  • Nodemailer: An easy-to-use module to send emails using Node.js.

Templating

  • .hbs (Handlebars): A simple templating language used for creating email templates.
  • Juice: Inlines CSS stylesheets for HTML emails to ensure consistent styling.

Payment Integration

  • PayPal Sandbox: A test environment that provides a safe space for testing the payment integration without involving real money.

API & Documentation

  • RestAPIs: Architectural style for designing networked applications.
  • Swagger: A tool for documenting APIs in a precise, readable, and user-friendly format.

Scheduling

  • NodeCron: A task scheduler in Node.js using full cron syntax for running scheduled jobs.

Testing

  • Jest: A delightful JavaScript Testing Framework with a focus on simplicity.

External APIs

  • OMDB API: Used for fetching movie data to enrich the application's content.

Environment Management

  • .env: A module for loading environment variables from a .env file into process.env.

Logging and Context Management

  • Nest cls: Contextual logging system for maintaining request-specific data throughout the lifecycle of a request.

DevOps and CI/CD

  • Docker: A platform for developing, shipping, and running applications in containers.
  • GitHub Actions: Automates workflows, CI/CD, testing, and deployment.

Validation

  • Joi: A powerful schema description language and data validator for JavaScript.

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Getting Started

To get started with the Cine Magic backend on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/DFanso/cine-magic-backend.git
    
    
  2. Navigate to the project directory:

    cd cine-magic-backend
    
  3. Install dependencies:

    npm install
    
  4. Set up environment variables:

  • Create a .env file based on the provided .env.example file.
  • Configure database and other environment variables as needed.
  1. Start the development server:

    npm start
    
  2. The backend API will be accessible at http://localhost:3000.

  3. The backend API Doc will be accessible at http://localhost:3000/api.

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed.

Contact

If you have any questions or need further assistance, please feel free to contact us.

cine-magic-backend's People

Contributors

dfanso avatar upekshaf avatar

Watchers

 avatar

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.