Flitz Save

The Feed App Boilerplate - built on Blitz.js

Project README

FLITZ

Deploy on Railway

Getting Started

Make env file and run PostgreSQL by using Docker.

% docker-compose up -d

Install Node.js modules.

% yarn install

Migrate PostgreSQL schemas.

% yarn prisma db push

Run your app in the development mode.

% yarn dev

Open http://localhost:3000 with your browser to see the result.

Environment Variables

Ensure the .env.local file has required environment variables:

DATABASE_URL="postgresql://postgres@localhost:5432/app"
POSTGRES_HOST_AUTH_METHOD=trust

Ensure the .env.test.local file has required environment variables:

DATABASE_URL="postgresql://postgres@localhost:5432/test"

Tests

Runs your tests using Jest.

% yarn test

Blitz comes with a test setup using Jest and react-testing-library.

Learn more

Read the Blitz.js Documentation to learn more.

Open Source Agenda is not affiliated with "Flitz" Project. README Source: reiwa/flitz
Stars
31
Open Issues
0
Last Commit
1 year ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating