Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nestjs_auth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Hock
nestjs_auth
Commits
e6ecb61e
Commit
e6ecb61e
authored
1 year ago
by
Philipp Hock
Browse files
Options
Downloads
Patches
Plain Diff
docu extended
parent
70f1f825
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
package.json
+1
-0
1 addition, 0 deletions
package.json
prisma/schema.prisma
+0
-20
0 additions, 20 deletions
prisma/schema.prisma
with
6 additions
and
20 deletions
README.md
+
5
−
0
View file @
e6ecb61e
...
...
@@ -5,3 +5,8 @@ To setup the project, start `npm install`
then run
`npm run start:dev`
open
[
Demo client
](
http://localhost:3000/client
)
and open devtools.
You may need to copy the .env_schema to .env and edit the secrets for encryption.
It also requires a running mongoose database. A docker-compose file is provided.
`npm run db`
starts the database
This diff is collapsed.
Click to expand it.
package.json
+
1
−
0
View file @
e6ecb61e
...
...
@@ -9,6 +9,7 @@
"build"
:
"nest build"
,
"format"
:
"prettier --write
\"
src/**/*.ts
\"
\"
test/**/*.ts
\"
"
,
"start"
:
"nest start"
,
"db"
:
"docker-compose up -d"
,
"start:dev"
:
"nest start --watch"
,
"start:debug"
:
"nest start --debug --watch"
,
"start:prod"
:
"node dist/main"
,
...
...
This diff is collapsed.
Click to expand it.
prisma/schema.prisma
deleted
100644 → 0
+
0
−
20
View file @
70f1f825
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// note this is only required when using prisma, this project uses mongoose
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mongodb"
url = env("DATABASE_URL")
}
model User {
id String @id @default(auto()) @map("_id") @db.ObjectId
name String
username String
password String
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment