Giter Site home page Giter Site logo

jerry-tech / servbyte Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18.03 MB

A way for businesses to sell safely due to covid-19 pandemic, providing an easy-to-use solution

Java 100.00%
java spring springboot h2-database swagger swagger-ui jwt springsecurity-jwt restful-api typescript

servbyte's Introduction

ServByte

A way for businesses to sell safely due to covid-19 pandemic, providing an easy-to-use solution

Environment

Install JDK 11 (https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) , IDE Intellij IDEA

How to run

  • Clone or download zip file from git
  • Access the root folder then open with an IDE such as Netbeans, Eclipse, Intelij ...
  • Allow maven to sync dependencies by turning ON your internet connectivity.
  • After a successful maven sync you can now
  • run the ServByteApplication file

Twilio (SMS Alerts)

since i am using the free sms to receive real time sms your phone number must be added(https://www.twilio.com/console/phone-numbers/verified) the phone number added must be the same with the phone number used fo registration

  • username: [email protected]
  • password: [email protected] .

    Access to h2 database (http://localhost:8080/h2)

    servbyte's People

    Contributors

    jerry-tech avatar

    Watchers

     avatar  avatar

    servbyte's Issues

    Implement JWT and security

    Using JWT it securely transmits information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. Also, JWT creates can be used to persist some information such as id, username, since it's a restful API and sessions, isn't available.

    Generate project files

    create a project file for the back-end using spring initializer by doing so the project dependencies will be added.

    Add Specialize depenciencies

    Adding dependencies for spring security & JSON web token for login authentication, JSON object for response and spring fox/swagger for restful API documentation.

    Create a Request Interceptor

    Used to always provide the Json web token for every request it is needed instead of insert the Authorization manually for every request.

    Meal Controller

    creating the controller that would consist of the method to add a meal, get a single meal and get all meal

    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.