EventPlanner Svelte Themes

Eventplanner

A dockerized web app that helps create and sign up events using Gmail and Yelp API.

Event Planners

A dockerized web app that helps people create and sign up events using Gmail and Yelp API.

Requirements

You would need to create two .env file, one in Gmail, another one in Yelp.

  • In Yelp service, you would need to add the API KEY, YELP_APIKEY, from Yelp Developers.
  • In Gmail service, you would need to add multiple OAuth2 authentication code, as they are CLIENT_ID, CLIENT_SECRET, REDIRECT_URL, REFRESH_TOKEN from Google API.

How to run the web app

Note: You must have mongoDB and Docker installed in your local machine.

cd EventPlanner
docker compose up

how to stop the containers from running:

docker compose down

how to remove all unused objects such as images and containers:

docker system prune -a

how to remove all unused volumes:

docker volume prune -a

Dockerfile

  • Run docker compose -f docker-compose.dev.yml up in dev mode
  • Why is the context keyword used?
    • The context keyword is important when you are specifying a Dockerfile that is different from the default (Dockerfile). The context represents the directory that Docker Compose uses as the build context. This is typically the directory where your application code resides and where your Dockerfile is located. When you specify a custom Dockerfile using the dockerfile keyword, it's assumed that this Dockerfile is located in the directory defined by context. Without the context keyword, Docker Compose wouldn't know where to find the Dockerfile you're referencing.

More About This Project

Where my ideas come from for this project?

Video demonstration from Youtube

Top categories

Loading Svelte Themes