Giter VIP home page Giter VIP logo

eventonica's Introduction

Eventonica

Tools: Node, Inquirer, MySQL, Eventful API, Eventful Node.

Project instruction outline: https://github.com/Techtonica/curriculum/blob/master/projects/project-four-point-five.md

Eventonica is an interactive event search command-line application. Features include:

  • Creating a new user
  • Searching for events through Eventful
  • Ability to store into the database the events they would like to attend
  • Retrieve information on all the events that one user will be attending
  • Retrieve information on all the users that will be attending one particular event

application image

search image


MySQL Database Setup:

  1. Install mysql. If you have brew, run brew install mysql, then start with brew services start mysql (otherwise you can download MySQL)

  2. Download Sequel Pro

  3. Open Sequel Pro, and enter the following to establish a connection:

    Host: 127.0.0.1
    Username: root
    
  4. Create a new database named eventonica

  5. Within the mapjourney database, create three tables: Users, Events, users_events

    • In Users table, add these columns: first_name (VARCHAR), last_name (VARCHAR), email (VARCHAR)
    • In Events table, add these columns: title (VARCHAR), time (TIMESTAMP), venue (VARCHAR), address (VARCHAR)
    • In users_events table, add these columns: user_id (INT, FK), event_id (INT, FK)

Application Setup:

  1. Go onto your desktop and then clone this repo to your local machine

    cd desktop and git clone https://github.com/vsan21/Eventonica.git

  2. Go into that project folder

    cd Eventonica

  3. Create an keys file

    touch keys.js

  4. Inside of the keys.js file, add:

    module.exports = {
       "eventful": <Your-Eventful-API-key>,
       "mySql": ""
    };
  5. Install all dependencies

    npm install

  6. Run node index.js (this will start the application)

eventonica's People

Contributors

chulinguy avatar vsan21 avatar

Stargazers

Ranjan Dailata avatar

Watchers

James Cloos avatar Ashley Addison 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.