Home
Shubham Sharma edited this page Jul 19, 2017
·
2 revisions
A platform for students, build by students. It was created as a part of internship under Hasura. The need for SHELF was felt when we finished our first year and were trying to sell off our books. This is when I started writing it with Amey Parundekar in my hostel room.
The above image shows the schema we are using for our app. There are 3 views and 8 tables.
PS. The above illustration is generated using DbDesigner.
Back-end is written in node.js and the front-end is written in angular.
The back-end endpoints can be divided into two categories:
- Authorization
- Data
-
3.1.1 Login
type: POST route: /login body: username, password response: 200, Logged in 403, Invalid credentials 500, Bad request
-
3.1.2 Logout
type: GET route: /logout response: 200, Logged out 403, Please login first
Link to SHELF - app.shubham1172.hasura.me