Skip to content

GeoGeorgeous/mesto

Repository files navigation

Mesto


🚀 View Live | Images by Unsplash

About the project

Mesto is my first Javascript application built for educational purposes while studying at Practicum by Yandex.

Users can change the name, profile description and profile image, as well as publish their own cards with images of places. Unnecessary cards can always be deleted, and the most beautiful ones can be liked.

Features

  • Like others' cards and upload your own
  • Change account data: username, description and profile image
  • Delete cards you don't like (only your own)
  • Fullscreen mode: open any card in full-screen mode by clicking on the image.
  • Server storage: cards' and users' data is stored on the REST-API server and won’t be deleted on page refresh.
  • Form live validation: errors will alert you if you enter something wrong in the input field, and will prohibit the form submitting.
  • Adaptive and responsive: The layout is displayed properly on any screens: from mobile to widescreen.
  • Error handling: If there are problems with the server, the corresponding errors are displayed in the console.
  • Confirmation popups: confirm the card deletion to avoid accidents

Built With

Roadmap

  • Migrate to Webpack 5
  • Add Eslint
  • Add English version

Installation

  1. Clone the repo

    git clone https://github.com/GeoGeorgeous/russian-travel.git
  2. Install NPM packages

    npm install
  3. Run NPM script

    Run app in development mode:

    npm run dev

    Start a production build:

    npm run build

App requests data from https://mesto.nomoreparties.co/ REST API