Social media web app like Twitter build with Qwikcity
- Qwikcity
- Typescript
- Drizzle ORM
- Neon
- Postgresql
- Node/Express server
- Tailwindcss
- daisyui
Note: copy .env.example inside .env
git clone https://github.com/harshmangalam/qwik-x.git
cd qwik-x
pnpm i
cp .env.example .env
Neon provides a serverless PostgreSQL that scales automatically and offers significant performance benefits. To integrate Neon with your Qwik-X app, follow these steps:
- Sign up for a free tier account at Neon. Follow the prompts to set up your account.
- Once logged in, create a new database. Choose the appropriate region closest to your user base to minimize latency.
- After creating your database, you will be provided with a database URL. This URL is used to connect your application to the Neon database.
- Open the
.env
file in your project’s root directory. - Replace the existing database URL with the one provided by Neon in the
DRIZZLE_DATABASE_URL
variable:DRIZZLE_DATABASE_URL=postgres://{user}:{password}@{hostname}:{port}/{database}
- Ensure that your application can connect to the Neon database by running a simple test query or using the Drizzle ORM commands provided in your package scripts.
- To create and sync the database schema:
pnpm migration:push
- This command will align your PostgreSQL schema with the current state of your application models.
- Once the database is configured and the schema is in place, start your development server:
pnpm dev
- If you encounter connection issues, verify the database URL and your internet connection.
- Ensure that your Neon account's security settings allow connections from your application’s IP address.
- Always raise PR for base branch
dev
- Python
- Streamlit
- Plotly
cd analysis
pip install -r requirements.txt