Skip to content

QuangPhamvt/ie104-back-end

Repository files navigation

IE104-BACK-END | INTERNET VA CONG NGHE WEB

About The Project

This is BE for project of IE104.

Built With

Prerequires

  • Bun version >= v1.0.x

Getting Started

Installation

  1. Clone the repo
git clone git@github.com:QuangPhamvt/ie307-back-end.git
  1. Install yarn packages
  • We use Bun for Javascript runtime
$ cd ./ie104-front-end
$ bun install
  1. Config environment
  • Setup Client

    file .env in folder client

DATABASE_URL="..." #connect to database
  • Husky setup
bun prepare

Usage

  • Run Client
$ cd ./ie307-front-end
$ bun start

Information

Client

  • Feature
  • Package using
  "dependencies": {
    "@elysiajs/jwt": "^0.7.0",
    "@elysiajs/swagger": "^0.7.3",
    "@planetscale/database": "^1.11.0",
    "dotenv": "^16.3.1",
    "drizzle-orm": "^0.28.6",
    "elysia": "latest",
    "mysql2": "^3.6.2"
  },
  "devDependencies": {
    "@commitlint/cli": "^17.8.0",
    "@commitlint/config-conventional": "^17.8.0",
    "bun-types": "latest",
    "drizzle-kit": "^0.19.13",
    "husky": "^8.0.0",
    "lint-staged": "^15.0.1",
    "prettier": "3.0.3"
  },

Technology

Link Demo

link:

How to push

  • Role commit {type}: {subject}

    • type: build | chore | ci | docs | feat | fix | perf | refactor | revert | style | test
    • subject: 'Write a short, imperative tense description of the change'
  • Automatic: check lint and format pre-commit

  • Example:

git commit -m "{type}: {subject}"

Description

Types Description
feat A new feature
fix A bug fix
docs Documentation only changes
style Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor A code change that neither fixes a bug nor adds a feature
perf A code change that improves performance
test Adding missing tests or correcting existing tests
build Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
ci 'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
chore Other changes that don't modify src or test files
revert Reverts a previous commit

About

This is back end for ie104

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors