Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.24 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.24 KB

Natours Web Application

https://www.natours.dev/

This project is a tour-based web app built using Node.js, Express.js, and MongoDB with Mongoose. The app includes authorization and authentication features to ensure secure access to its features. In this documentation, you will find information on how to install and set up the project, the project structure, the API documentation, the database schema, the authentication and authorization process, and troubleshooting information.

Installation

To install and set up the project, follow these steps:

Install Node.js and MongoDB on your machine. Clone the project from GitHub using git clone https://github.com/your-username/your-project.git. Navigate to the project directory using cd your-project. Install the required dependencies using npm install. Set up the environment variables for the project by creating a .env file and adding the following:

controllers/ - contains the controller functions for the app models/ - contains the Mongoose models for the app routes/ - contains the route handlers for the app views/ - contains the Pug templates for the app app.js - the main app file package.json - the project's dependencies and scripts README.md - the project's readme file