Skip to content

polynomial115/polynomial-server

Repository files navigation

Polynomial Server

Table of Contents

Introduction

This is the backend system for the Polynomial project.

System Requirements

  • Node.js
  • pnpm
  • Discord: Account and server for integration

Installation

To set up the server locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/polynomial115/polynomial-server.git
    cd polynomial-server
  2. Install Dependencies:

    pnpm install
  3. Configure Environment Variables: Create a .env file in the root directory and add the following:

    CLIENT_ID=your-discord-client-id
     CLIENT_SECRET=your-discord-client-secret
    DISCORD_TOKEN=your-discord-token
    JWT_SECRET=your-jwt-secret
  4. Configure Firebase.json: Create a firebase.json file in the root directory and add the following:

    {
    	"type": "service_account",
    	"project_id": "your-project-id",
    	"private_key_id": "your-private-key-id",
    	"private_key": "your-private-key",
    	"client_email": "your-client-email",
    	"client_id": "your-client-id",
    	"auth_uri": "your-auth-uri",
    	"token_uri": "your-token-uri",
    	"auth_provider_x509_cert_url": "your-auth-provider-x509-cert-url",
    	"client_x509_cert_url": "your-client-x509-cert-url"
    }

5.Run the Server:

pnpm dev

6.Access the Server: Use the client application to interact with the server system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •