- Website (has implemented the API): https://ch8fe.dauyu7ky61pqi.amplifyapp.com/
- Back-End API: https://yawning-unicorn-zeens-ed02ad15.koyeb.app/
- Landing Page:
{{Web_URL}}/
- Hero Section
- Our Services Section
- Why Us Section
- Testimonial Section
- Getting Started Section
- Frequently Asked Questions (FAQ) Section
- Search Cars Page:
{{Web_URL}}/auth/login/
- Hero Section
- Search Car Bar Section
- Login Page:
{{Web_URL}}/auth/login/
- Form Input Email and Password
- Admin Dashboard Page:
{{Web_URL}}/dashboard
- List All Cars:
{{Web_URL}}/dashboard
- Cars Management (CRUD):
{{Web_URL}}/dashboard/cars
- List All Cars:
A. Front-End
- TypeScript
- React.js
- Vite
- Bootstrap 5
- Axios
- SwiperJS
- Eslint
B. Back-End
- TypeScript
- Node.js
- Express.js
- PostgreSQL
- Knex
- Objection
- JWT (Json Web Token)
- Cloudinary
- Swagger
- Jest (Unit Testing)
C. Deployment
- AWS Amplify (Front-End Web)
- Koyeb (Back-End API)
- Supabase (Database Hosting)
- Superadmin
- email: [email protected]
- password: iamayano
- Admin
- email: [email protected]
- password: iamnaruto
-
Clone repository:
git clone https://github.com/RazinSyakib43/Car-Management-Dashboard.git
-
Menjalankan Program Front-End dan Back-End secara bersamaan (wajib)
-
Front-End
-
Arahkan ke directory Front-End (Client)
cd client
-
Install Dependencies
npm install
-
Jalankan Website
npm run dev
-
-
Back-End
-
Arahkan ke directory Back-End (Server)
cd server
-
Install Dependencies
npm install
-
Konfigurasikan pengaturan database Anda dengan mengedit
knexfile.ts
. Anda dapat mengaturuser
,password
, dandatabase
. Kemudian simpan perubahan Anda. Contoh:npm install
-
Jalankan migrasi schema database
development: { client: "postgresql", connection: { database: "car_rental_db", user: "your-username", password: "your-password" }, pool: { min: 2, max: 10 }, migrations: { tableName: "knex_migrations" } },
-
Jalankan data seeds
npx knex seed:run
-
Jalankan Server
npm run dev
-
-
-
Untuk melakukan pengembangan atau penyesuaian, edit file project client maupun server sesuai kebutuhan Anda.
Kontribusi dipersilakan! Jika Anda menemukan bug atau memiliki saran untuk perbaikan, silakan open issue atau submit pull request