8000 GitHub - czbiohub-sf/create-sds-app: Repo template for npx create-sds-app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

czbiohub-sf/create-sds-app

 
 

Repository files navigation

Create SDS App Template

Project Status

⚠️ Unstable. Early, active development, and may lack sufficient end-user documentation, assistance, etc., for anything other than the earliest adopters.

This is a Next.js project bootstrapped with create-next-app.

Light Mode

Light Mode

Dark Mode

Dark Mode

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 Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.

Reporting Security Issues

If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.

Development Setup

  1. Set up Environment Variables: Create a .env file in the project root and add the following variables:

    AUTH_SECRET="generate with npx auth"
    DATABASE_URL="postgresql://user:password@localhost:5432/dev_db" # to use dev docker db
  2. Start the Database: Ensure you have Docker installed and running. Then, start the PostgreSQL container:

    docker-compose up -d
  3. Apply Database Schema: Install dependencies if you haven't already (yarn). Then, apply the latest database schema changes defined in db/schema.ts:

    npx drizzle-kit push
  4. Run the Development Server: Start the application's development server (Next.js):

    yarn dev

    The application should now be running locally at http://localhost:3000, connected to the Dockerized PostgreSQL database.