Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainith123 committed Mar 3, 2024
1 parent fb12329 commit 6890480
Showing 2 changed files with 11 additions and 61 deletions.
17 changes: 11 additions & 6 deletions week-12/12.1 Relations/README.md
Original file line number Diff line number Diff line change
@@ -91,14 +91,14 @@ npx prisma migrate dev --name <name for you migration>

Start Coding!!!

<br>

## Directory Structure

**NOTE:Please try to adhere to the below directory structure, follow the same naming convention for files and directories in your app, this is a good practice to create applications(Again that's optional)**

- Clone the repo and write your code inside `survey-poll-app`

**Ignore tests and Readme which are already present in `survey-poll-app` **

```
survey-poll-app/
@@ -120,6 +120,7 @@ survey-poll-app/
|-- package.json
|-- .env
```
<br><br>

## Prisma Schema for your Reference

@@ -130,6 +131,14 @@ Just try to follow this basic structure for creating a survey
![img](./basic-survey.png)


<br>

<b>Click here to view schema<b>

<details>

<summary><b>Please try to make your own schema. Use this only if you are unable to make your own one<b></summary>

```
datasource db {
provider = "postgresql"
@@ -163,11 +172,7 @@ model Option {
}
```


## Testing

To run the tests, use the `npm test` command.
</details>



55 changes: 0 additions & 55 deletions week-12/12.1 Relations/survey-poll-app/tests/survey.test.js

This file was deleted.

0 comments on commit 6890480

Please sign in to comment.