Coder Social home page Coder Social logo

nodejs-rest-api's Introduction

Phonebook Backend Project

This is the backend project for a phonebook application that allows users to register, login, add an avatar, and perform CRUD operations on contacts.

Features:

  • User Registration: Users can create a new account by providing their desired username, email, and password. The registration endpoint is secure and validates user input.
  • User Login: Registered users can log in using their credentials to access their phonebook and perform CRUD operations.
  • Avatar Upload: Users have the ability to upload and update their profile picture (avatar) to personalize their phonebook experience.
  • Blocked Users: User can move contact to blocked contacts list
  • Contact Creation: Once logged in, users can create new contacts by providing the contact's name, phone number.
  • Contact Retrieval: Users can view a list of their existing contacts, including their name, phone number.
  • Contact Update: Users can edit and update the details of their existing contacts, including the name and phone number.
  • Contact Deletion: Users have the ability to delete unwanted contacts from their phonebook.

Technologies Used:

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JSON Web Tokens (JWT)
  • Multer (for file uploads)
  • bcrypt (for password hashing)

Commands:

  • npm start — starts the server in production mode.
  • npm run start:dev — starts the server in development mode.
  • npm run lint — runs code checks with eslint. It is necessary to run this command before each pull request (PR) and fix all linting errors.
  • npm lint:fix — similar to the lint command, but automatically fixes simple linting errors.

nodejs-rest-api's People

Contributors

bogdanlyamzin avatar goit-i18n avatar krabaton avatar nadyahristuk avatar olga1chernova 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.