* add dependency * rename Input to TextInput and use daisy * base styling * storybook setup with tailwind and theme changer * daisy buttons * add flaticons * text input to daisy * Navbar to daisy * login using daisy * autodocs is... auto * refactor Tabs to separate components * move TextInput * move button * move navbar * remove index * move container * move loader * move tabs to navigation * organize storybook hierarchy * use card * remove storybook dark mode * README * ignore db file * ignore db * prisma scripts * format * blyat * fix redirect
69 lines
1.2 KiB
Markdown
69 lines
1.2 KiB
Markdown
# Hestia
|
|
|
|
Hestia is an early stage project
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
# install dependencies
|
|
bun install
|
|
|
|
# set up local database
|
|
bun prisma:dev
|
|
```
|
|
|
|
## Developing
|
|
|
|
Once you've created a project and installed dependencies, start a development server:
|
|
|
|
```bash
|
|
bun dev
|
|
|
|
# or start the server and open the app in a new browser tab
|
|
bun dev -- --open
|
|
|
|
# to use storybook for components development
|
|
bun storybook
|
|
|
|
# interact with local database
|
|
bun prisma:studio
|
|
```
|
|
|
|
> You can access the Yoga web-app at `/api/graphql`
|
|
|
|
## Building
|
|
|
|
To create a production version of your app:
|
|
|
|
```bash
|
|
bun build
|
|
```
|
|
|
|
## Stack
|
|
|
|
- https://svelte.dev/docs/kit/introduction
|
|
- https://zod.dev/
|
|
- https://day.js.org/
|
|
|
|
### Frontend
|
|
|
|
- https://tailwindcss.com/
|
|
- https://www.flaticon.com/
|
|
- https://daisyui.com/
|
|
|
|
### Backend
|
|
|
|
- https://www.prisma.io/
|
|
- https://pothos-graphql.dev/
|
|
- https://the-guild.dev/graphql/yoga-server
|
|
- https://github.com/pinojs/pino
|
|
|
|
### Tools
|
|
|
|
- https://storybook.js.org/
|
|
- https://vite.dev/
|
|
- https://vitest.dev/
|
|
|
|
You can preview the production build with `bun run preview`.
|
|
|
|
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
|