GithubHelp home page GithubHelp logo

studentregistrationapi's Introduction

StudentRegistration API

Develop REST and GraphQL API with CRUD operations on Student and Subject entities to learn about building microservices

ScreenShots

REST API

Get Student by Id Get Student by Id

Get All Students Get Students

Register New Student New Student

Update Student Detail Update Student

Delete Student Delete Student

GraphQL API

Get Students Get Students

Get Subjects Get Subjects

Assign Subjects to Student Get Subjects to Student

Setup

To get started with the app, make sure you have Java JDK, mySql, MySQL Workbench and Git installed on your machine

Clone this repo to your machine:

$ git clone https://github.com/MasqueCrow/StudentRegistrationAPI.git

Next, install and update Maven dependencies defined in pom.xml

Then, create a new database schema in mySql Workbench with the following tables:

Student

Column Type Nullable
id int(11) no
name varchar(45) no
mobile_no int(11) yes
city varchar(200) yes

Subject

Column Type Nullable
id int(11) no
name varchar(45) no

Student_Subject

Column Type Nullable
student_id int(11) no
subject_id int(11) no

User

Column Type Nullable
id int(11) no
username varchar(45) no
password varchar(45) no

Copy and Paste SQL queries in db.sql to insert records to both tables

Run Java app and open browser to view the application:

Rest: localhost:8989/student/{action}
GraphQL: localhost:8989/stud/{action}

studentregistrationapi's People

Contributors

masquecrow avatar

Watchers

 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.