Skip to content

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

Notifications You must be signed in to change notification settings

Capstone-Project-B12-LMS/backend-api-lms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
    }

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published