Skip to content

biantris/asktris

Repository files navigation

asktris Full-Stack

Tests server Passing Tests web Passing follow on Twitter

Home Page

image

Result Page

wip

Create Scan Page

image

to-do

➜ to-do (kanban) image

Stack

➜ Root

  • Linter (Eslint)
  • Prettier
  • Commitlint
  • Editorconfig
  • Lint staged
  • Pre-commit
  • Turborepo
  • Dockerfile
  • CI/CD w/ Github Actions

➜ Server

  • TypeScript
  • Koa
  • MongoDB
  • Mongoose
  • API REST
  • Jest
  • SuperTest
  • Linter (Eslint)
  • Prettier
  • Webpack + babel

➜ Web

  • TypeScript
  • ReactTS
  • Axios
  • Semantic UI
  • Jest + Testing Library
  • Storybook
  • Linter (Eslint)
  • Prettier
  • Vite

Project architecture

🚧 wip 🚧

.
β”œβ”€β”€ packages/
β”‚   └── api [wip]
|   └── babel
|   └── server
|   └── ui [wip]
|   └── shared
|   └── test
|   └── types
|   └── web
└── ...

Getting Started

  • clone this repo

Server

  • go to the server path ../packages/server
  • or yarn server
# install dependencies
> yarn
# or
> yarn install

# copy .env file
> cp .env.example .env

# start project
> yarn start

# open in
http://localhost:9000/api/version

Web

  • go to the web path ../packages/web
  • or yarn web
# install dependencies
> yarn
# or
> yarn install

# copy .env file
> cp .env.local .env

# start project
> yarn dev

# open in
http://localhost:8080

Run Storybook

  • yarn storybook image

APIs

  • resultGet
  • resultGetAll
  • resultPost
  • resultUpdate
  • resultDelete

demo

🚧 wip 🚧