/Solve-Together-Backend

This backend system supports a collaborative coding platform where users can set daily coding goals, track performance across various coding challenge platforms, and engage in friendly competition.

Primary LanguageTypeScript

Welcome to SolveTogether

Configuration

Project Setup

  • Environment Variables

    • Create a .env file in the root diretory and add the following environment variables.
      • PORT = 3000
      • DBURL = "mongodb+srv://<Username>:<password>@<clustername.clusterid>.mongodb.net/"
      • SALT = 10
      • JWT_SECRET_KEY = <YOUR_SECRET_KEY>

Features

- User signup/signin feature completed
- Send friend request, Accept friend request, Remove friend feature completed
- Added uploading question feature (required file is in `csv format` and `column` name must be `title` and `questionLink`)

image

- And setup this things in frontend side
```
    const formData = new FormData();
    formData.append('file', <uploaded_data_variable_name>);
    
    headers: {
        'Content-Type': 'multipart/form-data',
    } 
```