Skip to content

Instantly share code, notes, and snippets.

View imbudhiraja's full-sized avatar
🤟
A Creative, Adventures and Curious Full Stack Developer.

Manish Budhiraja imbudhiraja

🤟
A Creative, Adventures and Curious Full Stack Developer.
View GitHub Profile
-------------------------------------- SERVER SETUP STEPS -------------------------------------------------------
******************************* DEPENDENCIES INSTALLATION *******************************
1. Check ubuntu version using command, lsb_release -a
2. Install apache according to ubuntu version
3. apt-get update
4. apt-get install apache2
5. INSTALL NVM FROM HERE---------------- https://gist.github.com/d2s/372b5943bce17b964a79
6. Install Node - nvm install v8.9.0 or higher
7. Install MongoDB - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
@imbudhiraja
imbudhiraja / file-downloader-action-types.js
Created May 6, 2021 11:45
File downloader with redux-saga and ReactJS
import { createAction } from 'redux-actions';
export const DOWNLOAD_FILE = 'DOWNLOAD_FILE';
export const downloadFile = createAction(DOWNLOAD_FILE);
export const DOWNLOAD_FILE_FAILURE = 'DOWNLOAD_FILE_FAILURE';
export const downloadFileFailure = createAction(DOWNLOAD_FILE_FAILURE);
export const DOWNLOAD_FILE_REQUESTED = 'DOWNLOAD_FILE_REQUESTED';
export const downloadFileRequested = createAction(DOWNLOAD_FILE_REQUESTED);