Skip to content

Commit 5b827e8

Browse files
Merge branch 'code-differently:main' into feature/myless25
2 parents 8d383ab + 55b7512 commit 5b827e8

File tree

5 files changed

+1321
-78
lines changed

5 files changed

+1321
-78
lines changed

lib/javascript/fullstack_demo/.env.example.postgres

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=Your Next Public Clerk Publishable Key here
22
CLERK_SECRET_KEY=Your Clerk Secret Key here
33
DB_TYPE=postgres
44
NEXT_PUBLIC_API_URL=http://localhost:3000
5-
DATABASE_URL=Your Postgres connection pooling database URL
6-
DIRECT_URL=Your Postgres direct database URL
5+
DATABASE_URL=postgresql://postgres:password@localhost:5432/fullstack_db
6+
DIRECT_URL=postgresql://postgres:password@localhost:5432/fullstack_db

lib/javascript/fullstack_demo/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ This project demonstrates a fully working task management app built using NextJS
66

77
## Running the app
88

9-
To run the app, copy the [.env.example](./.env.example) file as `.env` and setup the Clerk keys by setting up an account at https://clerk.dev. Once done, you can start up the local dev server with the following commands:
9+
To run the app, copy the [.env.example.postgres](./.env.example.postgres) file as `.env` and setup the Clerk keys by setting up an account at https://clerk.dev. Once done, you can start up the local dev server with the following commands:
1010

1111
```bash
1212
npm install
13+
npm run db:start
1314
npm run dev
1415
```
1516

lib/javascript/fullstack_demo/next.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
/** @type {import('next').NextConfig} */
44
const nextConfig = {
55
/* config options here */
6+
eslint: {
7+
// Warning: This allows production builds to successfully complete even if
8+
// your project has ESLint errors.
9+
ignoreDuringBuilds: true,
10+
},
611
};
712

813
export default nextConfig;

0 commit comments

Comments
 (0)