feat: add a way to reset password

This commit is contained in:
HerozDotExe 2025-08-05 15:26:29 +02:00
parent ef752d9add
commit fc8ea3f24a
3 changed files with 122 additions and 25 deletions

View file

@ -2,37 +2,25 @@
Another reddit clone to train me.
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```sh
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
Sveltekit
```sh
npm run dev
pnpm run dev
```
# or start the server and open the app in a new browser tab
npm run dev -- --open
Pocketbase
```sh
pnpm run db_dev
```
SMTP Server
```sh
docker run --rm -it -p 5000:80 -p 2525:25 rnwood/smtp4dev
```
## Building
To create a production version of your app:
```sh
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://svelte.dev/docs/kit/adapters) for your target environment.
pnpm run build
```