A digital audio library to upload and view any audio files
-To Write
These instructions will help you in getting the application running as local host and deploying in production on a
privately hosted linux server.
This application requires node >=10.x
and npm >=6.9.x
installed on your machine.
In keys_dev.js add the following code
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_modulesnpm install client-install
It installs the client node_modulesnpm run dev
It runs server and client on 5000 and 3000 port respectivelynpm install
It installs all the server node_modulesnpm install client-install
It installs the client node_modulescd client
get to client directorynpm run build
Create optimized production build of reactcd ..
Get back
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
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………..
Sai Sharan Tangeda
- Github profile
I would like to thank Dr. Anthony Vipin Das for their support and guidance in building
the application.