Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 832 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 832 Bytes

Natours Travel App

Description

This is a travel tour web app built using Express.Js, MongoDB, Mongoose. It is intended as a learning project for Node.js

Technical Features

  • Routing
  • CRUD Operations
  • Data modeling
  • Working with geospatial data
  • MVC architecture
  • Authentication using JSON web token
  • Proper authorization
  • Security
  • Error handling
  • Using PUG templates for website UI rendering
  • Accept credit card payments (with Stripe)
  • File upload
  • Email notification
  • App deployment using Heroku
  • API testing using Postman

How to Run the Project

  1. Clean the database using "node dev-data/data/import-dev-data.js --delete"
  2. Seed the database using "node dev-data/data/import-dev-data.js --import"
  3. use npm start (for development environment)
  4. use npm start:prod (for production environment)