Skip to content

Commit

Permalink
Svelte website
Browse files Browse the repository at this point in the history
  • Loading branch information
fullmeteor172 committed Oct 24, 2023
1 parent 4560386 commit f010b1e
Show file tree
Hide file tree
Showing 46 changed files with 3,665 additions and 10,058 deletions.
10 changes: 10 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions website/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
42 changes: 36 additions & 6 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
# Welcome to Hacktober!
If you're looking at this section, chances are that you wanted to know how the website functions.
# create-svelte

This is a React application, which was made to dynamically parse through the JSON file which contains information provided by the users who send in PRs!
Upon parsing the JSON file, we create cards for each individual user and display it in the webpage.
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).

We recommend that you go through the workflow that builds all the PR merged JSON files into a single file, and then the application which utilizes it to create cards.
Happy Hacking!
## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
17 changes: 17 additions & 0 deletions website/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}
Loading

0 comments on commit f010b1e

Please sign in to comment.