An open API service indexing awesome lists of open source software.

https://github.com/anokha-24/anokha_backend

Anokha 2024 Backend.
https://github.com/anokha-24/anokha_backend

concurrency expressjs middleware mysql nodejs paseto token

Last synced: 8 months ago
JSON representation

Anokha 2024 Backend.

Awesome Lists containing this project

README

          

# Anokha 2024

Anokha 2024 TechFest server.

## Installation

1. Install `Node.js` and `npm`
2. Install `mysql`.
3. Create Databases.

```sql
CREATE DATABASE anokha;
CREATE DATABASE anokha_transactions;
```

4. Install dependencies.

```bash
npm i
```

5. Configure ENV variables. Create `.env.local` file in the root directory of the project using the following template.

```env
DB_HOST = ''
DB_USER = ''
DB_PASS = ''

DB_NAME = 'anokha'
TXN_DB_NAME = 'anokha_transactions'

MAILER_SERVICE = 'Outlook365'
MAILER_HOST = 'smtp.office365.com'
MAILER_PORT = 587
MAILER_USER = ''
MAILER_PASS = ''

PAYU_TEST_KEY = ''
PAYU_TEST_SALT = '>'

PAYU_PROD_KEY = ''
PAYU_PROD_SALT = ''

isProduction = '1'

BASE_URL = ""
BACKEND_PORT =
```

6. Run the server.

```bash
npm start
```

## Developers

`Ashwin Narayanan S`
`Abhinav Ramakrishnan`