Git Product home page Git Product logo

book-store-api's Introduction

Book store API V 1.0:

This is an api(application programming interface) to manage the ordering of books through a web application. It is made up of endpoints to create, read, update and delete details in the database. The database name is bookapi_db. The list below are the api endpoints with their coresponding screenshots. The api documentation was done with the postman which is an application for testing api endpoints. The tech stack used was the Java version 11 programming language, Spring Framework version 2.6.12 for web, MySql workbench for the database, Java mail sender for sending emails, Jason Web token for generating secure tokens, Spring security for security all the endpoints. Follow the steps below to access the functionalities of the api.

  1. Create the bookapi_db in the database of mysql workbench
  2. define your security credentials in the application.properties of the app
  • spring.datasource.url = jdbc:mysql://localhost:3309/bookapi_db
  • spring.datasource.username = root
  • spring.datasource.password =
  1. use the run button of your intelliJ idea if thus the ide you are using and likewise if the ide is different To perform various functionalisties kinldy follow through accordingly:
  2. copy this link(http://localhost:8080/bookstore-api/user/add-new). To access the api on the network head to command prompt type ip config and enter. The with the ip provided beside the IPv4 address eg. 192.168.1.100:8080. Now replace the localhost:8080 with the ip provided.

CODE IN ACTION ENGLISH

![SIGNUP endpoint] (http://localhost:8080/bookstore-api/user/add-new) sample request body:

![LOGIN endpoint] (http://localhost:8080/bookstore-api/user/auth/login)

book-store-api's People

Watchers

Joshua Amarfio 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.