Skip to content

Tours API is a real-world RESTful API with advanced authentication, authorization, mongoose, Node.js security, email sending, and file uploading capabilities.

License

Notifications You must be signed in to change notification settings

K0ppai/Tours-API

Repository files navigation

Tours API

📗 Table of Contents

📖 Tours API

Tours API is a real-world RESTful API and web app with authentication, Node.js security, email sending, and file uploading capabilities. This is an API project I coded along with during the course mentioned in the acknowledgments. I took it to the next level by rebuilding it with TypeScript and ES6 modules.

🛠 Built With

Tech Stack

Server

  • Node.js
  • Express.js
Database
  • MongoDB

Key Features

  • Advanced MongoDB: Geospatial Queries, Aggregation Pipeline, and Operators
  • Mongoose advanced features: Modeling geospatial data, Populates, Virtual Populates, Indexes
  • Advanced authentication with user sign up, log in, password reset, secure cookies and authorization with user roles
  • Security with Encryption, Sanitization, Rate limiting
  • Sending emails with Mailtrap and Sendgrid and uploading files with Multer
  • Advanced data modelling: Relationships between data, Embedding, Referencing

(back to top)

API Documentation

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • A Chrome browser
  • npm
  • Node.js

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/K0ppai/Tours-API.git

Install

Install the prerequisites this project using:

  cd Tours-API

  npm install

Usage

To run the project, execute the following command:

  npm run dev

(back to top)

👥 Authors

👤 Paing Soe Thu

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, don't forget to give it a ⭐️!

(back to top)

🙏 Acknowledgments

I would like to give credit to the original creator of this course, Jonas Schmedtmann.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

Tours API is a real-world RESTful API with advanced authentication, authorization, mongoose, Node.js security, email sending, and file uploading capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published