Giter VIP home page Giter VIP logo

azure-typescript-e2e-apps's Introduction

name description page_type languages products
Azure TypeScript apps
A variety of TypeScript apps to deploy on Azure or integrate with Azure services.
sample
javascript
typescript
azure-app-service
azure-functions

Azure TypeScript E2E apps

A monorepo of apps used with the Azure cloud.

Features

  • .devcontainer: local proxied react + api using SWA CLI
  • app-react-vite: very simple React 18 + Vite app with Azure easy auth
  • api: very simple Node.js Azure Functions v4 (new programming model) with /status route
  • api-inmemory: very simple Node.js Azure Functions v4 (new programming model) with /status and in-memory db for /todo route
  • docs: helpful information about resources
  • example-workflows: example GitHub workflow files you can use to build and deploy apps

Documentation

  • React 18 (Vite) + Azure Functions API v4

Naming conventions

Name Description
app- Client or full-stack web app.
api= HTTP API.
lib- Library. Included in other projects.
cli- Command-line interface.

azure-typescript-e2e-apps's People

Contributors

core-dev-out avatar deyaaeldeen avatar dfberry avatar diberry avatar microsoft-github-operations[bot] avatar microsoftopensource avatar mtrilbybassett avatar v-geberr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azure-typescript-e2e-apps's Issues

Convert eslintignore to eslint "ignores" property

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

CORS problem in the azure-upload-file-to-storage sample app

This issue is for a: (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

provide environment variables and deploy to Azure

Any log messages given by the failure

On upload: Access to XMLHttpRequest at 'https://.blob.core.windows.net/upload/aria.jpg?sv=2023-11-03&spr=https&st=2024-01-14T09%3A15%3A04Z&se=2024-01-14T09%3A16%3A04Z&sr=b&sp=w&sig=MEWfviCwjAPqtoYX%2BaEXS4WO40U0%2FbwcmxPb9RBXTbk%3D' from origin 'https://.fr' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Expected/desired behavior

should be able to set up CORS on Azure

OS and Version?

Windows 11

Versions

Mention any other details that might be useful

I succeeded getting a SAS token for the file to upload and I also get a list of existing manually uploaded filed via the portal.
I get a 404 when trying to access an uploaded file, though.
CORS

405 error getting SAS token

This issue is for a: (mark with an x)

- x bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

13

Any log messages given by the failure

Error getting sas token: Request failed with status code 405 AxiosError: Request failed with status code 405 at BL (link) at XMLHttpRequest.g (link)

Expected/desired behavior

get SAS token

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 11 Pro

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Swagger 3.0 for person

openapi: 3.0.0
info:
  version: 1.0.0
  title: Persons API
paths:
  /persons:
    get:
      summary: Get all persons
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Person'
    post:
      summary: Create a new person
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Person'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
  /persons/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
    get:
      summary: Get a person by ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '404':
          description: Person not found
    put:
      summary: Update a person by ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Person'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '404':
          description: Person not found
    delete:
      summary: Delete a person by ID
      responses:
        '204':
          description: No Content
        '404':
          description: Person not found
components:
  schemas:
    Person:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        firstName:
          type: string
        lastName:
          type: string

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.