Giter Club home page Giter Club logo

cloudimg's Introduction

# Cloud Files

Cloud Files is an application that allows users to manage and store files in the cloud. It integrates with Cloudinary for file storage and management.

## Features

- User Registration: Users can create an account by providing their name, email, and password.

- User Login: Registered users can log in to their account using their email and password.

- Upload Images: Users can upload multiple images to their cloud storage.

- Download Images: Users can download images from their cloud storage by specifying the image ID.

- Get Cloudinary Data: Users can retrieve their dedicated Cloudinary data, including the API key, API secret, and cloud name.

## Technologies Used

- Node.js
- Express.js
- MongoDB (or any other database of your choice)
- Cloudinary (for file storage and management)
- Swagger (for API documentation)

## Installation

1. Clone the repository:

   ```bash
   git clone https://github.com/your-username/cloud-files.git
  1. Install the dependencies:

    cd cloud-files
    npm install
  2. Set up environment variables:

    • Create a .env file in the root directory of the project.
    • Define the following environment variables in the .env file:
      • DB_CONNECTION: Connection URL for your MongoDB database.
      • JWT_SECRET: Secret key for JSON Web Token (used for authentication).
      • CLOUDINARY_CLOUD_NAME: Cloudinary cloud name.
      • CLOUDINARY_API_KEY: Cloudinary API key.
      • CLOUDINARY_API_SECRET: Cloudinary API secret.
  3. Start the application:

    npm start
  4. The application will be running at http://localhost:5000.

API Documentation

API documentation is available using Swagger. You can access the API documentation by visiting http://localhost:5000/api-docs in your web browser.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

cloudimg's People

Contributors

fabrice-rw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.