Giter VIP home page Giter VIP logo

backend's Introduction

Lami app

💻 About The Project

Lami app provides various kinds of Indonesian cultural information, including catalogs, events and merchandise

Features in Lami app :

🙎 Users

At users, there are features for login either user or admin, we also make CRUD for the user here

Feature User Endpoint Param JWT Token Function
POST /register - NO new account registration
POST /login - NO login for user/admin
GET /users - YES read usre's profile
PUT /users - YES edit user's profile
DELETE /users - YES delete user's account
POST /users/stores - YES updgrade user account to UMKM
👨‍💻 Submission

At submissions, there are features for getting the submission list of UMKM and event, and also the verification for the UMKM and event

⚠️ you have to log in with an account that has an admin role to access the submission features ⚠️

Feature Admin Endpoint Param JWT Token Role Function
GET /stores/submissions - YES admin get the list of UMKM account submission list
PUT /stores/submissions user id YES admin update/verify UMKM account submission status
GET /events/submissions - YES admin get the list of event submission list
GET /events/submissions event id YES admin get the detail of event submission list
PUT /events/submissions event id YES admin update/verify event submission status
🍴 Cultures

At culutres, there are features for the culture management and report of culture

| Feature Restaurant | Endpoint | Param | JWT Token | Role | Function | | --- | --- | --- | --- | --- | | POST | /cultures | - | YES | admin | create new culture | | PUT | /cultures | - | YES | admin | edit the culture information | | DELETE | /cultures | - | YES | admin | delete culture | | GET | /cultures | - | NO | all | get list of cultures | | GET | /cultures | culture id | NO | all | get the culture information detail | | POST | /cultures/reports | culture id | YES | user, UMKM | insert report of culture | | GET | /cultures/reports | culture id | YES | admin | get report of culture |

⭐ Events

At events, there are features for event management and information of event join management

Feature Favourite Endpoint Param Role JWT Token Function
POST /events - YES user, UMKM insert event submission
GET /events - NO all get a list of events that have been approved by the admin
GET /events event id NO all get detail information of event
DELETE /events event id YES user, UMKM delete user's event
GET /users/events event id YES user, UMKM get a list of user's events
POST /events/participants - YES user, UMKM join event
GET /events/participants - YES user, UMKM get a list of joined event
POST /events/comments - YES user, UMKM create payment for join event
GET /events/comments event id NO all get list of comment in event
POST /events/payments - YES user, UMKM create payment for join event
GET /events/payments/status - YES user, UMKM get payment status
GET /events/payment_details - YES user, UMKM get payment detail
GET /events/attendees event id YES user, UMKM get list of event attendees in pdf
💭 Products

At Products, there are features for product management, cart, order and rating product

Feature Comment & Rating Endpoint Param JWT Token Role Function
POST /products - YES UMKM insert product for UMKM
GET /products - NO all get all products
GET /products product id NO all get product detail
PUT /products product id YES UMKM edit product detail
DELETE /products product id YES
GET /carts - YES user, UMKM get cart information
PUT /carts cart id YES user, UMKM edit product quantity in cart
DELETE /carts cart id YES user, UMKM delete product from cart
POST /orders - YES user, UMKM insert order product
GET /orders - YES user, UMKM get history order
POST /products/ratings product id YES user, UMKM add product rating and review
GET /products/ratings product id NO all get product rating and review

🛠  Build App & Database

GitHub Visual Studio Code MySQL Go AWS Docker Ubuntu Cloudflare JWT Swagger Postman Gmail

🗃️ ERD

Run Locally

Clone the project

  git clone https://github.com/alta-capstone-groupproject2/backend.git

Go to the project directory

  cd backend

Open Api

if you want to consume our api, here's the way !

https://app.swaggerhub.com/apis-docs/Alfin7007/lamiApp/1.0

Authors

  • Alfin Fernandha Pratama LinkedIn GitHub

  • Muhamad Yusup Reach me: LinkedIn GitHub

  • Faza Muttaqien Reach me: GitHub

(back to top)

©️ 2022 | Built with jerih payah dan keringat kami bertiga

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.