Coder Social home page Coder Social logo

chatisy_backend's Introduction

Chatisy Backend

This project is a backend implementation for user authentication and password reset functionality. The API is built with Node.js, Express, MongoDB, and Nodemailer.

Table of Contents

Installation

To install and run this project locally, follow these steps:

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Run npm run start to start the server

Usage

This project provides endpoints for user signup, login, forgot password, and password update functionality. Users can create an account, log in with their credentials, and reset their password if necessary.

To use this API, make HTTP requests to the appropriate endpoints using a tool like Postman or a similar application.

API Endpoints

  • POST /users/signup: Create a new user account. Send a JSON object with the following fields in the request body:
{
  "fullName": "james",
  "email": "[email protected]",
  "password": "yourpassword",
  "profile": "image",
  "about": "bio"
}```


- `POST /users/login`: Log in to an existing user account. Send a JSON object with the following fields in the request body:
```json
{
  "email": "[email protected]",
  "password": "yourpassword"
}```


- `POST /users/update`: Update unsers profile:
```json
{
  "email": "[email protected]",
  "profile": "image",
  "about": "bio"
}```


- `GET /users/:name`: Get User's profile by name:
```json
{
  "email": "[email protected]",
  "password": "newmission"
}```

## Technologies Used

This project uses the following technologies:

- Node.js
- Express
- MongoDB
- Mongoose
- Nodemailer
- JSON Web Tokens
- firebase

## Contributing

If you would like to contribute to this project, feel free to submit a pull request.

## License

This project is licensed under the Abhi Jain



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.