-
NextJS (v14) - FrontEnd
- Drizzle (ORM)
- Shadcn (UI Component)
- lucide-react (Icons)
- Tailwind CSS (CSS)
- App Router (Page Pattern)
- Typescript (Types)
- Vercel (Hosting)
- eslint (Linting)
-
FastAPI - BackEnd
- Modal (Container)
- SQLAlchemy (For ORM)
- mypy (Linting)
- Pattern (router->service->repository)
- Logfire (For Logging)
- Pydantic (Data Models)
-
Supabase - Database
- PostgreSQL
- Session Tokens
- Login/Signup OAuth
- Github
- Azure/Microsoft
-
CI/CD Utilities
- Github (Repository)
- Pull Request
- Protect Branch
- Github Actions
- Git (Version Control)
- Figma/Draw.io
- Postman API (API Testing)
- Github (Repository)
This is a Next.js project bootstrapped with create-next-app
.
First, install all packages:
npm i
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
COMING SOON...
Tutorial:
https://www.youtube.com/watch?v=f3CyAmelnEY&list=PLqAmigZvYxIL9dnYeZEhMoHcoP4zop8-p&index=3
For Installation of libraries:
pip install -r requirements.txt
To export libraries
pip freeze > requirements.txt
FIRST SETUP:
- make sure installed modal on python
- run python -m modal setup
CONTAINER INTIALIZATION:
- Go to Workspace Settings
- Go to API Tokens
- Create New Token
- modal token set --token-id <token_id> --token-secret <token_secret> --profile=<workspace_name>
- modal profile activate <workspace_name>
modal config set-environment development
modal serve src.main
modal config set-environment main
modal deploy src.main --tag $(GIT_HASH) ($(GIT_HASH) or the manual value of git rev-parse HEAD)
PS: Make sure that you have currently setup supabase project
- Make sure that you correctly setup the schema.ts
- nvm use 20.12
- npx drizzle-kit generate
- npx drizzle-kit push
- Go to
supabase.com
- Go to table editor
- Verify if your drizzle migrates to your supabase
- Make sure that you run also all migrations (/migrations/*.sql) to setup a trigger and function
COMING SOON...
COMING SOON...