Using Node.js, express, and MongoDB to build a fullly fledged API for users to interact with Nature tours near team. Using the app users can book tours using Stripe for purchase automation, leave reviews, and leave reviews.
In order to deploy the app locally users must create a config file with the following enviornment variables provided:
PORT : local port to host the appliaction
DB_USERNAME + DB_PASSWORD : A MongoDB account with username and password
DB_CONNECTION_STRING : Connection to compass to view the database
SENDGRID_USERNAME + SENDGRID_PASSWORD : Sendgrid for email automation when users sign up and forget password
STRIPE_SECRET_KEY : A strip API key for purchase functionality
Once env variables have been set, run the script "node ./src/dev-data/data/import-dev-data.js --import" to populate the database with some mock data,
and "npm start" to run the server in developer mode, or "set NODE_ENV=production&&nodemon server.js" to run in production mode.



