Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

react file manager

The File Manager application is a simple tool designed to help users manage their files and folders effortlessly

Prerequisites

Getting Started

Clone the Repository

git clone https://github.com/nayanprasad/react-file-manager

Change directory

cd react-file-manager

Install Dependencies

  1. Install server dependencies
    cd server
    pnpm install
  2. Install client dependencies
    cd client
    pnpm install

Configure Environment Variables

  1. Create a config.env file in the server/config directory

    cd server/config
    touch config.env

    Now open the config.env file and add the following environment variables

    PORT=5000
    MONGO_URI=<your_mongodb_uri>
    JWT_SECRET=<your_jwt_secret>
    JWT_EXPIRES_IN=30d
    COOKIE_EXPIRE=30
  2. Create a .env file in the client directory

    cd client
    touch .env

    Now open the .env file and add the following environment variables

    REACT_APP_BASE_URL=http://localhost:5000
    UPLOADTHING_SECRET=<your_uploadthing_secret>
    UPLOADTHING_APP_ID=<your_uploadthing_app_id>

Start the application

  1. Start the server

    cd server
    pnpm run dev
  2. Start the client

    cd client
    pnpm next dev

Releases

Packages

Used by

Contributors

Languages