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.
- Host: GitHub
- URL: https://github.com/anokha-24/anokha_backend
- Owner: anokha-24
- License: gpl-3.0
- Created: 2024-01-12T08:59:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T07:22:49.000Z (over 1 year ago)
- Last Synced: 2025-09-09T09:48:10.293Z (9 months ago)
- Topics: concurrency, expressjs, middleware, mysql, nodejs, paseto, token
- Language: JavaScript
- Homepage:
- Size: 452 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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`