Skip to content

Commit bd6c3f6

Browse files
committed
initial project
1 parent 63054b6 commit bd6c3f6

File tree

19 files changed

+5553
-2
lines changed

19 files changed

+5553
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
dist/
3+
.env
4+
.vscode

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# learn-cicd-typescript-starter
2-
The typescript starter code for the "Learn CICD" course on Boot.dev
1+
# learn-cicd-typescript-starter (Notely)
2+
3+
This repo contains the typescript starter code for the "Notely" application for the "Learn CICD" course on [Boot.dev](https://boot.dev).
4+
5+
## Local Development
6+
7+
Make sure you're on Node version 18+.
8+
9+
Create a `.env` file in the root of the project with the following contents:
10+
11+
```bash
12+
PORT="8080"
13+
```
14+
15+
Run the server:
16+
17+
```bash
18+
npm install
19+
npx tsc && npm start
20+
```
21+
22+
*This starts the server in non-database mode.* It will serve a simple webpage at `http://localhost:8080`.
23+
24+
You do *not* need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course!

drizzle.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { defineConfig } from "drizzle-kit";
2+
3+
import { config } from "./src/config";
4+
5+
export default defineConfig({
6+
out: "./src/db/migrations",
7+
schema: "./src/db/schema.ts",
8+
dialect: "turso",
9+
dbCredentials: {
10+
url: config.db.url || "",
11+
},
12+
});

0 commit comments

Comments
 (0)