⏰ START :
21 APRIL 2022 || DEADLINE : 28 APRIL 2022 - 23.59.59 WIBFINISHED
Buatlah sebuah aplikasi yang memiliki relasi database Many To Many. Tema bebas dapat dipilih sesuai masing-masing. Misal : Toko Buku, Toy Store, dll. Presentasi kan hasil kerja kalian pada hari Kamis. Berikut adalah topik yang harus kalian buat :
a. 5W1H mengenai aplikasi kalian
b. ERD yang telah dibuat
c. Technology Stack yang digunakan
d. Endpoint yang diperlukan / API Document
e. Demo apps
- Technology Stack :
- Node.js, Express, Postgres (DBMS), Many To Many, Sequelize (ORM), Basic Query / CRUD (WAJIB), Validations, Hooks, EJS (Template Engne), CSS framework boleh menggunakan Bootstrap
- Entity Relational Diagram / ERD (WAJIB!!)
- Sertakan diagram relasi dan alurnya
- API Documentation (WAJIB!!)
- Dapat dibuat secara manual dalam README.md di github, Bisa menggunakan Swagger
-
Upload to cloud with Heroku
-
File ppt dengan format : BE-[nama_apps]-[nama]
Day 1 : Cari tema, Analisis table / menemukan relasi, Buat ERD, Buat folder dan init apps, Create dan migrate db
Day 2 : App.js, Routes, Controller, Testing di postman, Dst
Day 3 : API Documentation, EJS, CSS Framework (optional)
POWERPOINT : https://github.com/chanlyseptian/back-end-mini-project-Food-Order/blob/main/PPT%20-%20Food%20Order.pptx
SCREENSHOOTS APPS : https://github.com/chanlyseptian/back-end-mini-project-Food-Order/tree/main/Screenshoot%20Application%20Food%20Order
- a. Customer Page - Login
- b. Customer Page - Register
- c. Customer Page - Profil Information Page
- d. Customer Page - Edit Information User Page
- e. Customer Page - Order Food for Customer Page
- f. Customer Page - Order Status Customer Page
- a. Admin Page - Orders Management
- b. Admin Page - Edit Order status
- c. Admin Page - Food Management
- d. Admin Page - Edit Food
- e. Admin Page - Add Food
- f. Admin Page - Show List Customer and can delete customer
GET /index
http:https://localhost:3000/
- Halaman menu dan akan menampilkan list food
GET /customers
http:https://localhost:3000/customers
- Halaman admin dan akan menampilkan list customer
GET /customers/login
http:https://localhost:3000/customers/login
- Halaman customer dan akan menampilkan form login customer
GET /customers/register
http:https://localhost:3000/customers/register
- Halaman customer dan akan menampilkan form register customer
POST /customers/register
http:https://localhost:3000/customers/register
- Untuk membuat akun customer
GET /customers/customerPage
http:https://localhost:3000/customers/customerPage?name='...'&key='...'
- Halaman untuk menampilkan informasi user
GET /customers/editPage
http:https://localhost:3000/customers/editPage/:id
- Halaman untuk menampilkan form edit user
POST /customers/editPage
http:https://localhost:3000/customers/editPage/:id
- Halaman mengupdate informasi user
GET /customers/delete
http:https://localhost:3000/customers/delete/:id
- Untuk menghapus customer
GET /orders/
http:https://localhost:3000/orders/
- Halaman untuk menampilkan list order di admin page
GET /orders/order
http:https://localhost:3000/orders/order/:id
- Halaman menampilkan form order food di customer page
POST /orders/create
http:https://localhost:3000/orders/create
- Untuk membuat order
GET /orders/information
http:https://localhost:3000/orders/information/:id
- Halaman menampilkan list order untuk di customer page
GET /orders/deleteOrder
http:https://localhost:3000/orders/delete/:id
- Untuk menghapus order
GET /orders/edit
http:https://localhost:3000/orders/edit/:id
- Halaman menampilkan form edit order di admin page
POST /orders/edit
http:https://localhost:3000/orders/edit/:id
- Untuk mengupdate status order
GET /foods/
http:https://localhost:3000/foods/
- Halaman untuk menampilkan list food di admin page
GET /foods/create
http:https://localhost:3000/foods/create
- Halaman untuk menampilkan form create food di admin page
POST /foods/create
http:https://localhost:3000/foods/create
- Untuk membuat food
GET /foods/delete
http:https://localhost:3000/foods/delete/:id
- Untuk menghapus food
GET /foods/edit
http:https://localhost:3000/foods/edit/:id
- Untuk menampilkan halaman edit food di admin page
POST /foods/edit
http:https://localhost:3000/foods/edit/:id
- Untuk mengupdate food