Giter Site home page Giter Site logo

api-clinica's Introduction

Api-Clinica

Api feita em Typescript

Pacotes Utilizados

typescript
gulp
gulp-typescript
express
node
tslint(É uma ferramenta de análise de código para alertá-lo sobre possíveis problemas no seu código, além dos problemas de sintaxe )
dayJS

Executar

Primeiro é preciso executar o npm install para instalar as dependencias. E para executar o projeto execute npm run dev

Detalhes do Projeto

Para que seja feita a periocidade tem 3 tipos de id:
1 - Do dia
2 - Diariamente
3 - Semanalmente

Porta

Foi configurada na porta 8000, caso haja algum conflito modificar no seguinte caminho src/main.ts

Rotas

Cadastrar

http://localhost:8000/cadastrar-horarios/?dia=12-06-2020&horaInicio=15:46&horaFim=15:56&periocidade=1 http://localhost:8000/cadastrar-horarios/?dia=13-06-2020&horaInicio=16:46&horaFim=17:30&periocidade=2 http://localhost:8000/cadastrar-horarios/?dia=14-06-2020&horaInicio=17:46&horaFim=18:30&periocidade=3

Listar Regras

http://localhost:8000/listar-regras-horarios

Apagar Regras

http://localhost:8000/apagar-horarios?id=0

Listar Horarios disponiveis

http://localhost:8000/listar-horarios-disponiveis?dataInicio=12-06-2020&dataFim=12-06-2020

api-clinica's People

Contributors

ieleny avatar ifsilva-wtf 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.