jokes-bapak2/client
Reinaldy Rafli 69604ad0ce
fix(frontend): wrong endpoint routing (#16)
* fix(frontend): separate server and browser base url

* style: format

* fix: wrong endpoint routing
2022-10-01 21:57:59 +07:00
..
src fix(frontend): separate server and browser base url (#15) 2022-10-01 21:51:13 +07:00
static feat: meta tags 2021-07-15 17:30:40 +07:00
.dockerignore hotfix: error on preview 2021-07-15 20:41:36 +07:00
.env.example fix(frontend): separate server and browser base url (#15) 2022-10-01 21:51:13 +07:00
.eslintrc.cjs feat: move to svelte kit 2021-07-09 10:50:38 +07:00
.gitignore chore: config to static 2021-07-09 16:19:10 +07:00
.npmrc feat: move to svelte kit 2021-07-09 10:50:38 +07:00
.nvmrc feat: updating links 2021-11-09 01:19:38 +07:00
.prettierrc style: config prettier 2021-07-09 22:44:24 +07:00
Dockerfile fix(frontend): wrong endpoint routing (#16) 2022-10-01 21:57:59 +07:00
README.md feat: upgrade to brand new sveltekit 2022-09-10 20:05:26 +07:00
package-lock.json feat: upgrade to brand new sveltekit 2022-09-10 20:05:26 +07:00
package.json feat: upgrade to brand new sveltekit 2022-09-10 20:05:26 +07:00
svelte.config.js format: run prettier 2022-09-10 20:33:58 +07:00
tsconfig.json format: run prettier 2022-09-10 20:33:58 +07:00
vite.config.ts format: run prettier 2022-09-10 20:33:58 +07:00
windi.config.ts chore: bump dependencies 2022-03-31 22:03:32 +07:00

README.md

Jokes Bapak2 Client

The frontend.

Development

# Install modules
$ npm install

# Run local server
$ npm run dev

# build everything
$ npm run build

You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.

Used packages

Name Version Type
@sveltejs/kit 1.0.0-next.480 Framework
svelte 3.50.1 Framework
typescript 4.8.3 Static type language
svelte-i18n 3.4.0 i18n Library
svelte-windicss-preprocess 4.2.8 CSS Library
@fontsource/fira-mono 4.5.9 Webfont
@fontsource/rubik 4.5.11 Webfont
dotenv 16.0.2 Utils
@sentry/browser 7.12.1 Logging

Directory structure

.
├── Dockerfile          - Docker image for client
├── package.json        - Meta information & dependencies
├── README.md           - You are here
├── src
│  ├── app.html         - HTML entry point
│  ├── components       - Svelte component files
│  ├── global.d.ts      - Global type definition for Typescript
│  ├── languages        - i18n localization database
│  ├── lib              - Logic & utilities
│  └── routes           - Svelte page files
├── static              - Static/public directory
├── svelte.config.js    - Svelte configuration file
├── tsconfig.json       - Typescript configuration file
├── windi.config.ts     - WindiCSS configuration file
└── package-lock.json   - Packages lock file

.env configuration

VITE_NODE_ENV=development
VITE_API_ENDPOINT=
VITE_SENTRY_DSN=