Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sharantangeda/digitalaudiolibrarylvpei

A digital audio library to upload and view any audio files
https://github.com/sharantangeda/digitalaudiolibrarylvpei

digital-audio-library gridfs microsoft-power-bi mongodb multer nodejs nodemailer reactjs sql

Last synced: 2 days ago
JSON representation

A digital audio library to upload and view any audio files

Awesome Lists containing this project

README

        

# Digital Audio Library LVPEI
## Project Description
#### This web Application completely built on MERN stack with MySQL for PBI Analysis.
-To Write
## Getting Started
These instructions will help you in getting the application running as local host and deploying in production on a
privately hosted linux server.

## Prerequisites
This application requires `node >=10.x` and `npm >=6.9.x` installed on your machine.

## Instructions for running the application in development environment
- AudioDigitalLibraryLVPEI
- config
- keys_dev.js(create this file)

In **keys_dev.js** add the following code

```$xslt
module.exports = {
mongoURI: 'YOUR_DATABASE_KEY',
secretOrKey: 'YOUR_SECRET_OR_KEY',
senderEmail: 'YOUR_SMTP_CONFIGURED_EMAIL',
senderPassword: 'YOUR_SMTP_PASSWORD' };
```

After these files are added run the following commands from project folder
- `npm install` _It installs all the server node_modules_
- `npm install client-install` _It installs the client node_modules_
- `npm run dev` _It runs server and client on 5000 and 3000 port respectively_

## Instructions for running the app in production server

- `npm install` _It installs all the server node_modules_
- `npm install client-install` _It installs the client node_modules_
- `cd client` _get to client directory_
- `npm run build` _Create optimized production build of react_
- `cd ..` _Get back_
- **_In case of ubuntu server:_**
```
NODE_ENV='production' PORT=5000 MONGO_URI="YOUR_DATABASE_STRING_HERE" SECRET_OR_KEY='SECRET_OR_KEY_HERE'
SQLDB_USERNAME='SQL_DB_USERNAME' SQLDB_PASSWORD='SQL_DB_PASSWORD'SQLDB_DBNAME='SQL_DB_DBNAME'
SQLDB_HOST='SQL_HOST_ADDRESS' SQLDB_PORT=3306 LVPEI_EMAIL='EMAIL_ADDRESS_FOR_VERIFICATION'
LVPEI_PASSWORD='PASSWORD_FOR_EMAIL' nodejs server.js
```
- **_In case of other OS:_**
```
NODE_ENV='production' PORT=5000 MONGO_URI="YOUR_DATABASE_STRING_HERE" SECRET_OR_KEY='SECRET_OR_KEY_HERE'
SQLDB_USERNAME='SQL_DB_USERNAME' SQLDB_PASSWORD='SQL_DB_PASSWORD'SQLDB_DBNAME='SQL_DB_DBNAME'
SQLDB_HOST='SQL_HOST_ADDRESS' SQLDB_PORT=3306 LVPEI_EMAIL='EMAIL_ADDRESS_FOR_VERIFICATION'
LVPEI_PASSWORD='PASSWORD_FOR_EMAIL' node server.js
```

That's it you are set up...........
## Author
**_`Sai Sharan Tangeda`_** - [Github profile](https://github.com/SHARANTANGEDA?tab=repositories)

## Acknowledgements
I would like to thank **Dr. Anthony Vipin Das** for their support and guidance in building
the application.
## Copyrights
- This code can be used by any individual for development purposes without consent of author(_**#Keeps the spirit
alive!!!**_).
- But any organization or individual of any kind other than _**LVPEI or the Author**_ using it for commercial purposes
must take permission of the _**author**_ or above mentioned _**Dr. Anthony Vipin Das**_.