Coder Social home page Coder Social logo

stackoverflow's Introduction

rest-services API

GET /web/list

200 (application/json)

response: []

500 (application/json)

GET /web/list/questionId

200 (application/json)

response: {}

404 (application/json)

500 (application/json)

POST /web/list

201 (application/json)

response: {id:123}

400 (application/json)

401 (application/json)

403 (application/json)

500 (application/json)

DELETE /web/list/questionId

200 (application/json)

401 (application/json)

403 (application/json)

404 (application/json)

500 (application/json)

GET /web/access

Headers: Authorization: Basic fj12D4ksaUn6Jknk7l

200 401 403 500

PUT /web/rating/up

200 (application/json)

401 (application/json)

403 (application/json)

404 (application/json)

409 (application/json)

500 (application/json)

PUT /web/rating/down

200 (application/json)

401 (application/json)

403 (application/json)

404 (application/json)

409 (application/json)

500 (application/json)

nginx config

http {
    server {
    listen 8080;

    root /media/Data/Универ/КБ/repository/web;
    index index.html;

    location / {
        try_files $uri /index.html;
    }

    location = /index.html {
        expires 30s;
    }

    location ~ .*/main.css {
        try_files $uri /style/main.css;
    }

    location ~ .*/app.js {
        try_files $uri /js/app.js;
    }

    location /rest-services {
        proxy_pass http://192.168.100.8:8080/web;
    }
}
}

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.