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
-
Install mysql. If you have brew, run
brew install mysql
, then start withbrew services start mysql
(otherwise you can download MySQL) -
Download Sequel Pro
-
Open
Sequel Pro
, and enter the following to establish a connection:Host: 127.0.0.1 Username: root
-
Create a new database named
eventonica
-
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)
- In
-
Go onto your desktop and then clone this repo to your local machine
cd desktop
andgit clone https://github.com/vsan21/Eventonica.git
-
Go into that project folder
cd Eventonica
-
Create an keys file
touch keys.js
-
Inside of the keys.js file, add:
module.exports = { "eventful": <Your-Eventful-API-key>, "mySql": "" };
-
Install all dependencies
npm install
-
Run
node index.js
(this will start the application)