mirror of
https://github.com/WhoIsFishie/Fishie-Honesty-UI.git
synced 2025-02-22 09:12:22 +00:00
clean
This commit is contained in:
commit
f5d0864a3c
16
.github/workflows/docker-image.yml
vendored
16
.github/workflows/docker-image.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
name: Build Docker Compose on Commit
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Build Docker Compose
|
|
||||||
run: docker-compose -f .build/docker-compose.yml build
|
|
1
Img/.empty
Normal file
1
Img/.empty
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
BIN
Img/Github Logo.png
Normal file
BIN
Img/Github Logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
68
README.md
68
README.md
@ -1,18 +1,51 @@
|
|||||||
# create-svelte
|
# Fishie Honesty
|
||||||
|
|
||||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|

|
||||||
|
|
||||||
## Creating a project
|
### What is this
|
||||||
|
the Frontend code for Fishie Honesty. a no AI and no algorithm based social media website where users can build a profile and post and socialize with others
|
||||||
|
|
||||||
If you're seeing this, you've probably already done this step. Congrats!
|
if you want to follow along with the devlog for this project check out [my youtube playlist](https://youtu.be/LLYBFS7LHvk).
|
||||||
|
|
||||||
```bash
|
## Features
|
||||||
# create a new project in the current directory
|
- a dedicated page for users to be able to share all their socials (linktree clone)
|
||||||
npm create svelte@latest
|
- Telegram based authentication (2fa built in and we dont store passwords)
|
||||||
|
- users can post
|
||||||
|
- users can like or dislike posts
|
||||||
|
- user profile
|
||||||
|
- claim username
|
||||||
|
- notification via telegram
|
||||||
|
|
||||||
# create a new project in my-app
|
## Roadmap
|
||||||
npm create svelte@latest my-app
|
*0 users*
|
||||||
```
|
- build server
|
||||||
|
- build web app
|
||||||
|
- make dev logs
|
||||||
|
- deploy server and web app
|
||||||
|
|
||||||
|
*256 users*
|
||||||
|
- add comments
|
||||||
|
|
||||||
|
*1000+ users*
|
||||||
|
- actually take the project seriously
|
||||||
|
|
||||||
|
*5012 users*
|
||||||
|
- android app
|
||||||
|
- in app notification
|
||||||
|
|
||||||
|
*10,000 users*
|
||||||
|
- ios app
|
||||||
|
- in app notification
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
**Server**
|
||||||
|
- C# ASP.NET
|
||||||
|
- MongoDB
|
||||||
|
|
||||||
|
**Web UI**
|
||||||
|
- Svelte
|
||||||
|
- Vite
|
||||||
|
- Playwright
|
||||||
|
|
||||||
## Developing
|
## Developing
|
||||||
|
|
||||||
@ -23,17 +56,10 @@ npm run dev
|
|||||||
|
|
||||||
# or start the server and open the app in a new browser tab
|
# or start the server and open the app in a new browser tab
|
||||||
npm run dev -- --open
|
npm run dev -- --open
|
||||||
```
|
|
||||||
|
|
||||||
## Building
|
# run prod build
|
||||||
|
|
||||||
To create a production version of your app:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
# preview the production build
|
||||||
|
npm run preview
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
|
14
package-lock.json
generated
14
package-lock.json
generated
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "myapp",
|
"name": "myapp",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
@ -11,7 +10,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iconify/svelte": "^3.1.0",
|
"@iconify/svelte": "^3.1.0",
|
||||||
"daisyui": "^2.51.5",
|
"daisyui": "^2.51.5",
|
||||||
"react-icons": "^4.8.0"
|
"react-icons": "^4.8.0",
|
||||||
|
"sveltegram": "^1.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.28.1",
|
"@playwright/test": "^1.28.1",
|
||||||
@ -2718,6 +2718,11 @@
|
|||||||
"svelte": ">=3.19.0"
|
"svelte": ">=3.19.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/sveltegram": {
|
||||||
|
"version": "1.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/sveltegram/-/sveltegram-1.1.5.tgz",
|
||||||
|
"integrity": "sha512-VkCEFsLu0xF+xQgmpD259RlO6NGCPMpdw6Ku0t9wD8/JsDokUujce4fw3N5CTc/tWY5bReD6/25psiIugQww8A=="
|
||||||
|
},
|
||||||
"node_modules/tailwindcss": {
|
"node_modules/tailwindcss": {
|
||||||
"version": "3.3.1",
|
"version": "3.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",
|
||||||
@ -4861,6 +4866,11 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
|
"sveltegram": {
|
||||||
|
"version": "1.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/sveltegram/-/sveltegram-1.1.5.tgz",
|
||||||
|
"integrity": "sha512-VkCEFsLu0xF+xQgmpD259RlO6NGCPMpdw6Ku0t9wD8/JsDokUujce4fw3N5CTc/tWY5bReD6/25psiIugQww8A=="
|
||||||
|
},
|
||||||
"tailwindcss": {
|
"tailwindcss": {
|
||||||
"version": "3.3.1",
|
"version": "3.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iconify/svelte": "^3.1.0",
|
"@iconify/svelte": "^3.1.0",
|
||||||
"daisyui": "^2.51.5",
|
"daisyui": "^2.51.5",
|
||||||
"react-icons": "^4.8.0"
|
"react-icons": "^4.8.0",
|
||||||
|
"sveltegram": "^1.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<script>
|
<script>
|
||||||
|
// import {Icon} from '@iconify/svelte';
|
||||||
|
// import {FaTelegramPlane} from 'svelte-icons/fa';
|
||||||
|
import {Login} from "sveltegram";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="text-center my-40">
|
<div class="text-center my-40">
|
||||||
<h1 class="text-3xl sm:text-4xl font-bold">Honesty</h1>
|
<h1 class="text-3xl sm:text-4xl font-bold">Honesty</h1>
|
||||||
<sub class="text-sm">By Fishie</sub>
|
<sub class="text-sm">By SAR</sub>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-10 sm:p-20" />
|
<div class="p-10 sm:p-20" />
|
||||||
@ -16,11 +16,16 @@
|
|||||||
|
|
||||||
<footer class="container mx-auto">
|
<footer class="container mx-auto">
|
||||||
<div class="flex justify-center items-center">
|
<div class="flex justify-center items-center">
|
||||||
<button class="btn btn-error">
|
<!-- <button class="btn btn-error">
|
||||||
<!-- <a href="">Login via Telegram</a> -->
|
<a href="">Login via Telegram</a>
|
||||||
Click here to login
|
Click here to login
|
||||||
<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="Fishie_Honesty_bot" data-size="large" data-auth-url="/" data-request-access="write"></script>
|
</button> -->
|
||||||
</button>
|
<!-- <script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="Fishie_Honesty_bot" data-size="large" data-auth-url="/" data-request-access="write"></script> -->
|
||||||
|
<Login
|
||||||
|
username="Fishie_Honesty_bot"
|
||||||
|
requestAccess=true
|
||||||
|
size="large"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</section>
|
</section>
|
||||||
@ -32,4 +37,4 @@
|
|||||||
4. this works
|
4. this works
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Path: Fishie-Honesty-UI\src\routes\+page.svelte -->
|
<!-- Path: Fishie-Honesty-UI\src\routes\+page.svelte -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user