Git Product home page Git Product logo

4food's Introduction

Eateria Management - SE104

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Development

Clone code

To clone code from git repo, use this command:

git clone https://github.com/truongthienloc/se104_eateria_fe.git

After clone code successfully, use this command to install essential packages:

npm install

Run code

Make .env file, copy all in .env.example file to .env. Then, fill values to variables in .env file.

Use this command to run code in dev environment:

npm run dev

Folder Structure

Folder structure

  • components
    • Các components dùng chung cho nhiều pages nên được đặt trong thư mục components
    • Đặt tên cho components phải tường minh, dễ hiểu và viết hoa chữ cái đầu của Components. Ví dụ: SubFooter.tsx
  • containers
    • Chứa các component được dùng để xử lí dữ liệu và không có chức năng render
  • pages
    • Các page phải được khai báo tại thư mục pages
  • layouts
    • Các layout được xử dụng trong website
  • routes
    • Tất cả các routes điều hướng nên được đặt vào thư mục routes
  • styles
    • Các bạn có thể sử dụng css hoặc sass theo dạng module, hoặc viết tất cả các css/sass vào thư mục styles
  • helpers
    • Chứa các function hỗ trợ xử lí cho project
  • services
    • Chứa các dịch vụ hỗ trợ cho project

Production

Link production: https://4food.vercel.app/

Chú ý: Vì API server đang sử dụng bản miễn phí, nên sẽ có thể mất vài phút để khởi động khi truy cập website.

Build code

Deploy

4food's People

Contributors

truongthienloc avatar nhuy101 avatar dinhkhanh2104 avatar nubbynatt avatar

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.