-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 Add emails and basic google auth
- Loading branch information
Showing
67 changed files
with
2,931 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
node_modules | ||
build | ||
tmp | ||
.adonisjs | ||
|
||
# Secrets | ||
.env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": false, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "resources/css/globals.css", | ||
"baseColor": "zinc", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "resources/components", | ||
"utils": "resources/lib/utils" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
services: | ||
database: | ||
image: postgres:16-alpine3.19 | ||
ports: | ||
- "5432:5432" | ||
volumes: | ||
- psql-data:/var/lib/postgresql/data | ||
environment: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: postgres | ||
|
||
volumes: | ||
psql-data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import env from '#start/env' | ||
import { defineConfig, transports } from '@adonisjs/mail' | ||
|
||
const mailConfig = defineConfig({ | ||
default: 'smtp', | ||
|
||
/** | ||
* The mailers object can be used to configure multiple mailers | ||
* each using a different transport or same transport with different | ||
* options. | ||
*/ | ||
mailers: { | ||
smtp: transports.smtp({ | ||
host: env.get('SMTP_HOST'), | ||
port: env.get('SMTP_PORT'), | ||
/** | ||
* Uncomment the auth block if your SMTP | ||
* server needs authentication | ||
*/ | ||
/* auth: { | ||
type: 'login', | ||
user: env.get('SMTP_USERNAME'), | ||
pass: env.get('SMTP_PASSWORD'), | ||
}, */ | ||
}), | ||
}, | ||
}) | ||
|
||
export default mailConfig | ||
|
||
declare module '@adonisjs/mail/types' { | ||
export interface MailersList extends InferMailers<typeof mailConfig> {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { defineConfig } from '@tuyau/core' | ||
|
||
const tuyauConfig = defineConfig({ | ||
codegen: { | ||
/** | ||
* Filters the definitions and named routes to be generated | ||
*/ | ||
// definitions: { | ||
// only: [], | ||
// } | ||
// routes: { | ||
// only: [], | ||
// } | ||
}, | ||
}) | ||
|
||
export default tuyauConfig |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { User } from '#src/users/models/user' | ||
import { BaseSeeder } from '@adonisjs/lucid/seeders' | ||
|
||
export default class extends BaseSeeder { | ||
async run() { | ||
// Write your database queries inside the run method | ||
await User.create({ | ||
email: 'contact@morgan-leroux.com', | ||
password: 'testtest', | ||
}) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.