lutfiandri / frescis-frontend

FresCis Frontend | Senior Project

Home Page:https://frescis.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FresCis Frontend

Website FresCis | Senior Project


Development Setup

Prerequisites

  • Download and install Node.js version 18.15 or higher.

Setting Up Project

  • Clone this repository

  • Open with your favorite code editor

  • Install required dependencies:

    npm install
  • Run the program:

    # on development
    npm run dev
  • Happy coding

Branch Naming

<type>/<short_description>

  • <type> :
    • feature: saya menambahkan fitur baru
    • fix: saya memperbaiki fitur

contoh: feature/menambahkan-navbar
Learn More

Commit Messages

<type>(scope): <short_summary>
Baca lebih lengkap

Folder Structure

- docs                 # asset dokumentasi
- public               # bisa diakses public (menyimpan gambar)
- src
  - components
    - ui               # component element satuan
    - templates        # component template yang dapat digunakan berulang kali
  - layouts            # layout -> digunakan berulang kali untuk base suatu halaman
  - pages              # halaman - halaman
  - styles             # styling dan tema
  - utils
    - helpers          # helper function
    - hooks            # react hook
    - services         # fetcher dari api
    - constants        # constant variables

Import Path Mapping

Gunakan path mapping. @ akan me-mapping-kan ke src. Contoh:

import Home from '@/pages/Home.jsx';
import Button from '@/components/elements/Button.jsx';

About

FresCis Frontend | Senior Project

https://frescis.vercel.app


Languages

Language:JavaScript 92.4%Language:CSS 7.6%