Skip to content

vsan21/Eventonica

 
 

Repository files navigation

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)

About

Node, Inquirer, MySQL, Eventful API, Eventful Node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%