Giter VIP home page Giter VIP logo

movie_booking_application's Introduction

Movie Booking web-app

Tech Stack

Nodejs, Express, MySql, JQuery


Preinstallation Steps

  1. install nvm source:https://www.sitepoint.com/quick-tip-multiple-versions-node-nvm/

  2. install nodejs(version=10.17.0) using nvm.(command: nvm install 10.17.0)

  3. install mysql (version = 5.7)
    sources:a.https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
    b. https://blog.zedfox.us/install-mysql-5-7-windows-10/

  4. Install redis server.
    a. for windows 10:
    i. https://github.com/microsoftarchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip) (download this zipfile)
    ii. follow the instructions from this site from step 2:
    https://riptutorial.com/redis/example/29962/installing-and-running-redis-server-on-windows

    b. for Ubuntu: https://codeforgeek.com/node-js-redis-tutorial-installation-commands/


Installation Steps

  1. Complete the preinstallations steps mentioned above.

  2. git clone <repository link>

  3. cd movie_booking_application

  4. npm install

  5. In the 'app.js' file update the following lines(for Mysql) according to your mysql'password'

    host: 'localhost',
    user: 'root', //mysql username
    password : ' ', // type the mysql password which you have set.
    database:'booking_movies' // mysql database name

  6. Open your terminal(linux/mac-os) or CMD(windows) for mysql and type the below 2 commands.
    NOTE: Here, the password asked will be of your MySQL.

    1. mysql -u root -p -e "create database booking_movies"
    2. mysql -u root -p booking_movies < database.sql
  7. And now open another terminal-tab for starting the nodejs server.
    Command: node app.js (Now,the node-server will start at port:3000)

  8. Lastly,open your Browser and enter this URL: localhost:3000/home


Version of all the softwares.

Note:All the '*' must have the mentioned version installed in your computer.   

*mysql = 5.7	  
*nodejs = 10.17.0  
 redis = 3.0.6  

movie_booking_application's People

Contributors

astron98 avatar dependabot[bot] avatar debug-source 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.