Giter Club home page Giter Club logo

cero-uno-c-sharp-architecture's People

Contributors

antonioortizpola avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cero-uno-c-sharp-architecture's Issues

Public site index services

exit

Return 200

find-tickets

Return 200

[
  {
    id: int,
    description: string,
    created: date,
    modified: date,
    status: string (pending|attentionRequired|resolved)
  }
]

get-ticket-comments

Receives

{
  id: int
}

Return 200

[
  {
    comment: string,
    created: date
    type: string (client|bank)
  }
]

create-ticket

Receives

{
  description: string
}

Return 204

create-comment

Receives

{
  id: int,
  comment: string
}

Return 204

respond-to-operator

Receives

{
  id: int,
  comment: string
}

Return 204

Public site access services

sign-in

Receives

{
  email: string,
  operationCode: string,
  password: string
}

Return 200

{
  email: string,
  token: string
}

Or a 400 if wrong access data is received

validate-client-account

Receives

{
  account: string,
  operationCode: string
}

Return 204
Or a 400 if is not valid

create-client-access

Receives

{
  email: string,
  password: string
}

Return 200

{
  email: string,
  token: string
}

Or a 400 if is not valid

Dockerize .net core 2 and node npm

Hi tony!! hope you are fine!
Guest if you can help me into this..
I have been trying to dockerize and app web on .net core 2.1 and vue based, running and working ok on release! ... whathever when i run the docker-composer that is "microsoft/dotnet:2.1-aspnetcore-runtime" based it works until it needs install the the NPM dependencies for the javascript framework and throws.
I have been looking for some questions but it is not clear to me.. meanwhile it is a long process (like 1 hour) for dockerize this until it throws.
this is my dockerfile


 FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base
 WORKDIR /app
 EXPOSE 80

 FROM microsoft/dotnet:2.1-sdk AS build
 WORKDIR /src
 COPY FacturaPrueba/Facturar.csproj FacturaPrueba/
 COPY Persistencia/Persistencia.csproj Persistencia/
 COPY some five projects more.....

 RUN dotnet restore FacturaPrueba/Facturar.csproj
 COPY . .
 WORKDIR /src/FacturaPrueba
 RUN dotnet build Facturar.csproj -c Release -o /app

 FROM build AS publish
 RUN dotnet publish Facturar.csproj -c Release -o /app

 FROM base AS final
 WORKDIR /app
 COPY --from=publish /app .
 ENTRYPOINT ["dotnet", "Factura.dll"]

it is linux based... i have just node and npm install via yarn or apt-get??
that's the correct way? where would i put it in my docker file? figure that the NPM install is in the pipeline of the "Facturar.csproj", it runs when "Facturar.csproj" is building

Thanks Tony!

Internal site index supervisor services

find-tickets

Return 200

{
  supervisorTickets: [
    {
      id: int,
      description: string,
      created: date,
      modified: date,
      status: string (pending|attentionRequired|resolved)
    }
  ],
  openTickets: [
    {
      id: int,
      description: string,
      created: date,
      modified: date,
      status: string (pending|attentionRequired|resolved)
    }
  ],
  closedTickets: [
    {
      id: int,
      description: string,
      created: date,
      modified: date
    }
  ]
}

get-ticket-comments

Receives

{
  id: int
}

Return 200

[
  {
    comment: string,
    created: date
    type: string (client|bank)
  }
]

create-comment

Receives

{
  id: int
  comment: string
}

Return 204

ask-client-for-information

Receives

{
  id: int
  comment: string
}

Return 204

close-ticket

Receives

{
  id: int
}

Return 204

Internal site index operator services

get-assigned-ticket

Return 200

{
  id: int,
  description: string,
  created: date
  comments: [
    {
      comment: string,
      created: date
      type: string (client|bank)
    }
  ]
}

create-comment

Receives

{
  comment: string
}

Return 204

ask-client-for-information

Receives

{
  comment: string
}

Return 204

close-ticket

Return 204

send-ticket-to-supervisor

Return 204

Maintenance and assignation console

It should perform two tasks:

  • Delete the tickets older than 3 months (Running daily)
  • Check for unassigned tickets for operators (Running each 5)

Internal site access services

sign-in

Receives

{
  username: string,
  password: string
}

Return 200

{
  name: string,
  token: string
}

Or a 400 if wrong access data is received

exit

Return 200

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.