GithubHelp home page GithubHelp logo

computocell / api-restful-spring-boot-java-8-mongodb-45-minutos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m4rciosouza/api-restful-spring-boot-java-8-mongodb-45-minutos

0.0 2.0 0.0 52 KB

API RESTful com Spring Boot, Java 8, MongoDB e Spring Security em 45 minutos

License: MIT License

Shell 36.19% Batchfile 27.95% Java 35.86%

api-restful-spring-boot-java-8-mongodb-45-minutos's Introduction

API RESTful em 45 minutos

API RESTful com Spring Boot, Java 8, MongoDB e Spring Security em 45 minutos

Como executar a aplicação

Certifique-se de ter o Maven instalado e adicionado ao PATH de seu sistema operacional, assim como o Git.

git clone https://github.com/m4rciosouza/api-restful-spring-boot-java-8-mongodb-45-minutos.git
cd api-restful-spring-boot-java-8-mongodb-45-minutos
mvn spring-boot:run
Acesse http://localhost:8080/api/clientes
Utilize o usuário "user" e a senha que é impressa no terminal ao executar a aplicação para autenticar.

APIs endpoints

GET http://localhost:8080/api/clientes [lista todos os clientes]
GET http://localhost:8080/api/clientes/{id} [lista um cliente por ID]
POST http://localhost:8080/api/clientes [cadastra um novo cliente]
PUT http://localhost:8080/api/clientes/{id} [atualiza os dados de um cliente]
DELETE http://localhost:8080/api/clientes/{id} [remove um cliente por ID]

Importando o projeto no Eclipse ou STS

No terminal, execute a seguinte operação:

mvn eclipse:eclipse

No Eclipse/STS, importe o projeto como projeto Maven.

api-restful-spring-boot-java-8-mongodb-45-minutos's People

Contributors

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