Giter Club home page Giter Club logo

outsystems.fileserver's Introduction

OutSystems.FileServer.Api

This is the README file for the API. It provides information on how to run the API locally and other relevant details.

Prerequisites

Getting Started

Running Locally as Console Application

  1. Clone the repository: git clone https://github.com/os-adv-dev/OutSystems.FileServer.git
  2. Navigate to the project directory
  3. Restore the dependencies: dotnet restore
  4. Build the project: dotnet build
  5. Run the API: dotnet run
  6. The API will be available at Take a look at the launchSettings.json for details
  7. Add /swagger for documentation.

Running with IIS Express

  1. Clone the repository: git clone https://github.com/os-adv-dev/OutSystems.FileServer.git
  2. Open the solution file in Visual Studio
  3. Build the solution (press F6 or go to Build > Build Solution)
  4. Set the startup project to the API project
  5. Press F5 to start debugging
  6. The API will be available at Take a look at the launchSettings.json for details

Running with Docker

  1. Clone the repository: git clone https://github.com/os-adv-dev/OutSystems.FileServer.git
  2. Navigate to the project directory
  3. Build the Docker image: docker build -t outsystems-fileserver-api
  4. Run the Docker container: docker run -d -p 8080:80 outsystems-fileserver-api
  5. The API will be available at http://localhost:8080

Publishing (IIS)

  1. Navigate to the Api directory using terminal.
  2. Use the dotnet publish -c release command to publish.
  3. Avoid to copy the appsettings.json file and copy the rest of the content from PATH TO THE API\Api\bin\release\net7.0\publish\
  4. Paste on the destination folder configured in IIS. If the site is running maybe you need to stop first to replace the files.
  5. If it's necessary, change the site appsettings.json file.
  6. Start the site and navigate to the swagger to test and make sure it's working.

API Documentation

The API documentation is generated using Swagger. Once the API is running, you can access the Swagger UI at http://localhost:<port>/swagger to explore the available endpoints and interact with them.

Configuration

The API configuration can be customized by modifying the appsettings.json file. Update the relevant settings as per your requirements.

License

This project is licensed under the MIT License.

outsystems.fileserver's People

Contributors

agoncalvesos avatar williancesar avatar

Watchers

 avatar  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.