Skip to content

TravelApp developed with node, express, EJS and Mongodb as data storage solution. Containerized with docker and configured with Kubernetes

License

Notifications You must be signed in to change notification settings

arefeh-htmi/travel-destination-mern-app

Repository files navigation

travel-destination-mern-app

Users can create an account (authentication checks for users, login or logout for users), do CRUD with destinations and coments, browse destinations, check their location on map, comment

Steps to install and run

To Deploy it on a local k8s cluster: First make sure that you have kubectl, minikube instaleed 1- To create a cluster run: "minikube start" and verify that it is created by "kubectl cluster-info" 2- Run this to make sure the Minikube cluster is running: "minikube status" 3- Submit resource definitions to K8s by running this: "kubectl apply -f kube" 4- Watch pods by running this: "kubectl get pods --watch" 5- After creation, you can access it by running: "minikube service knote --url"

To run it with npm: 1.You need to have node and mongodb installed 2.type "npm install" in your terminal to install all dependencies and dev-dependencies 3.make a .env file with following values DATABASEURL, GEOCODER_PROVIDER, GEOCODER_API_KEY 4.type "npm run start" in your terminal to run

Tech Stack

  • Node.js : 10.16.3
  • MongoDB : 4.2.0
  • Express : 4.17.1
  • Bootstrap : 4.4.1
  • FontAwesome : 5.13.0
  • Mapquest API: used for geocoding
  • Mapbox API: used to show the maps

Dependencies and Dev-dependancies

body-parser
connect-flash
dotenv
ejs
express
express-session
geojson
method-override
moment
mongoose
node-geocoder
passport
passport-local
passport-local-mongoose
nodemon

About

TravelApp developed with node, express, EJS and Mongodb as data storage solution. Containerized with docker and configured with Kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published