Getting Started

This is the backend repository for the Agora project, which handles the server-side logic, APIs, and smart contract interactions for the Agora platform.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

Ensure you have the following installed on your local machine:

  • Node.js (v14.x or later)

  • npm (v6.x or later) or yarn (v1.22.x or later)

  • Hardhat (for Ethereum development)

Installation

  1. Clone the repo

git clone https://github.com/mossland/Agora_backend.git
  1. Navigate to the project directory

cd Agora_backend
  1. Install NPM packages

npm install

Running the Project

To run the project locally, use the following command:

npm start

This will start the server and you can interact with the backend APIs. The IP address connecting to the database must be verified in the allow-list of IPs in your MongoDB account settings.

Last updated