Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.87 KB

README.md

File metadata and controls

52 lines (43 loc) · 1.87 KB

community-calendar-BACKEND

A local event app serving municipalities and neighborhoods. -

Database

The database is setup in three different phase, development, test, staging and production. By default mongodb runs on port 27017, so make sure that this port is free and that there are no other instance of mongodb runnning on that same port on our machine. The development server is at mongodb://localhost:27017/community_calender.

To test in development mode you will need to do the following.

  • Download & Install mongodb on your local machine.
  • Make sure that mongodb is set to your environmemt path variables, if not add it to path.
  • Create a folder named data on your local machine, make sure to put this folder outside the code folder structure.
  • Run the command mongod --dbpath=<path-to-your-data folder in step III]>.
  • npm run server the api will spin up making a connection to the database.

Setting Scraper Parameters

EventBrite Parameters

Event Types

  • All Events: all
  • Business: business
  • Science and Technology: science-and-tech
  • Music and Entertainment: music
  • Film and Media: film-and-media
  • Arts: arts
  • Fashion: fashion
  • Health: health
  • Sports and Fitness: sports-and-fitness
  • Travel and Outdoor: travel-and-outdoor
  • Food and Drink: food-and-drink
  • Charity and Causes: charity-and-causes
  • Government: government
  • Community: community
  • Spirituality: spirituality
  • Family and Education - family-and-education
  • Holiday - holiday
  • Home and Lifestyle - home-and-lifestyle
  • Auto, Boat and Air - auto-boat-and-air
  • Hobbies - hobbies
  • School Activities - school-activities
  • Other: other

Location Formats

City
  • New York: new-york
  • Lagos: lagos
Country
  • South Africa: south-africa
  • Nigeria: nigeria
  • United States: united-states