Code Monkey home page Code Monkey logo

natours's Introduction

Natours

Key Features ๐Ÿ“

Authentication and Authorization

  • Sign up, Log in, Logout, Update, and reset password.

User profile

  • Update username, photo, email, password, and other information
  • A user can be either a regular user or an admin or a lead guide or a guide.
  • When a user signs up, that user by default regular user.

Tour

  • Tours can be seen by every user.
  • Manage booking, check tour map, check users' reviews and rating
  • Tours can be created by an admin user or a lead-guide.
  • Tours can be updated by an admin user or a lead guide.
  • Tours can be deleted by an admin user or a lead-guide.

Bookings

  • Only regular users can book tours (make a payment).
  • Regular users can not book the same tour twice.
  • Regular users can see all the tours they have booked.
  • An admin user or a lead guide can see every booking on the app.
  • An admin user or a lead guide can delete any booking.
  • An admin user or a lead guide can create a booking (manually, without payment).
  • An admin user or a lead guide can not create a booking for the same user twice.
  • An admin user or a lead guide can edit any booking.

Reviews

  • Only regular users can write reviews for tours that they have booked.
  • All users can see the reviews of each tour.
  • Regular users can edit and delete their own reviews.
  • Regular users can not review the same tour twice.
  • An admin can delete any review.

Build With ๐Ÿ—๏ธ


Setting up ESLint and Prettier in VS Code ๐Ÿ‘‡๐Ÿป

$ npm i eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-config-airbnb eslint-plugin-node
eslint-plugin-import eslint-plugin-jsx-a11y  eslint-plugin-react --save-dev

Check Natours API Documentation for more info.


natours's People

Contributors

gergeshany avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.