Giter Club home page Giter Club logo

quora-api-clone's Introduction

Quora-API-clone

A Quora clone API was built using javascript modern tools and frameworks like Nodejs, Expressjs, and MongoDB and deployed to Render ( a unified cloud to build and run all your apps and websites with free TLS certificates, global CDN, private networks and auto deploys from Git ) to make it available to users for their use

API-EN-1

APIs can be either public or private. Public APIs are open to the public and can be accessed by anyone, while private APIs are restricted to specific users or applications.

Features

CRUD (Create, Read, Update And Delete)

  • User authentication and registration: Allow users to create an account, log in, and manage their profile
  • Question and answer functionality: Enable users to ask and answer questions, and follow questions and topics of their interest
  • Upvoting and downvoting: Allow users to vote on answers, comments, and questions to indicate their quality and relevance.
  • Search functionality: Enable users to search for questions, topics, or users of their interest.
  • Notifications: Notify users about updates to their followed questions, answers, or topics.
  • Social sharing: Allow users to share questions and answers on social media platforms.
  • Analytics: Provide analytics on user engagement, content performance, and other metrics to help improve the app's performance
  • Admin functionality: Enable app administrators to manage user accounts, content, and settings, and to enforce community guidelines.

API Documentation

Hosted on Render live

Requirement

Configuration File

add a new config.env into config folder, then modify to your environment variables, mongodb uri, set your JWT_SECRET and SMTP variables

NODE_ENV=development
PORT=5000

MONGO_URI=
MONGO_URI_LOCAL=
MONGO_USERNAME=
MONGO_PASSWORD=



FILE_UPLOAD_PATH= ./public/uploads
MAX_FILE_UPLOAD=1000000

JWT_SECRET=kjhguiokss
JWT_EXPIRE=30d
JWT_COOKIE_EXPIRE=30

SMTP_HOST=smtp.mailtrap.io
SMTP_PORT=
SMTP_EMAIL=
SMTP_PASSWORD=
FROM_EMAIL=
FROM_NAME=

Installation

Install all the dependecies

yarn

Install nodemon globally npm install -g nodemon

Start web server

yarn dev

Images

Screenshot 2023-03-10 184847

Screenshot 2023-03-10 184920

quora-api-clone's People

Contributors

wastech 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.