Open
Conversation
Molaryy
reviewed
Sep 11, 2023
Comment on lines
+12
to
+13
| 1. Create a new folder for your project and open it in the terminal. | ||
| 2. Run the following commands: |
Contributor
There was a problem hiding this comment.
You should create a SETUP.md file with the installation steps and explain a little what they do and then add a link to the actual README so they can click and go back.
Molaryy
reviewed
Sep 11, 2023
Comment on lines
-61
to
+26
| > You should see a warning message when you generate the schema. | ||
| ## Step 3: Installing Prisma | ||
|
|
||
| If you subsequently run `npm start`, you will get a warning, which is normal. For the server to run properly, you have to add an `objectType` that defines the `Post` table in the `entities` folder. | ||
| An example of the `User` table is present in the folder, it's up to you to do `Post`. | ||
| Install Prisma as a development dependency: | ||
|
|
||
| > [Nexus model documentation](https://nexusjs.org/docs/plugins/prisma/overview) | ||
| ```bash | ||
| npm install prisma --save-dev | ||
| ``` |
Contributor
There was a problem hiding this comment.
Same here for the SETUP.md
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Create the prisma Workshop
Changes include
Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it.
Checklist
Additional comments
Please post additional comments in this section if you have them, otherwise delete it.