Coder Social home page Coder Social logo

irdaislakhuafa / backend-api-lms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from capstone-project-b12-lms/backend-api-lms

1.0 0.0 1.0 690 KB

This is Backend API project for our LMS (Learning Management System) as Final Project from Alterra Academy

Java 99.54% HTML 0.46%

backend-api-lms's Introduction

About

Here is Backend API project for out LMS (Learning Management System). On this project we use Java as Programming Language and Spring Boot as Framework.

Here we will user GraphQL as main API and possibly use Rest FULL API if needed

Entity Relational Database

How to run it

First clone this repository to your local storage.

git clone https://github.com/Capstone-Project-B12-LMS/backend-api-lms.git
cd backend-api-lms

To make it easier to run here i use Docker. So if you haven't installed Docker, please install it here

if you have installed Docker please run command bellow

cd env/
docker compose up -d

And Docker will magically prepare app enviroment.

Here we have 2 mode of API

  • Rest FULL API

    • On Rest FULL API you can see documentation in http://localhost:8080/restapi/docs/swagger-ui/index.html#/ after app running.
  • GraphQL API

    • On GraphQL API you can access http://localhost:8080/gql/v1/graphiql?path=/graphql to use GraphQL in browser and you can send your GraphQL Query in http://localhost:8080/gql/v1/graphql

Using Deployed App

This app already deployed in server enviroment. So, you can use some resource to use this app without install it. Use resource bellow to use it.

Note :

  • Some endpoints may already be protected. So, require Authorization and Authentication to access endpoints with Jwt Token. To access endpoint with Jwt Token please register first and login with registered account and you will have the Token as response, you can use it to access all endpoints. Follow format bellow to access protected endpoints.

    • Using Authorization Header
    {
      "Authorization": "Bearer <Paste Your Token Here>"
    }

    and later it will look like this

    {
      "Authorization": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6W3siYXV0aG9yaXR5IjoiVVNFUiJ9XSwiZXhwIjoxNjU0ODMzODE4LCJ1c2VySWQiOiI5ZDRhMDU1ZC0xNDNmLTRmNTEtOWJmYS02MTg5YjU1YTlkMDMiLCJpYXQiOjE2NTQ4MzAyMTh9.9CG4JCyKqrzgOq3a89zkhaMLVSf7W-WnYQSxAJwhrOk"
    }

backend-api-lms's People

Contributors

irdaislakhuafa avatar nuryudha avatar

Stargazers

 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.