-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: !(Breaking) Implemented Prisma ORM and Initial Database Setup #138
Merged
dvjsharma
merged 1 commit into
dvjsharma:master
from
kaali001:feature/automate-db-setup
Jul 22, 2024
Merged
feat: !(Breaking) Implemented Prisma ORM and Initial Database Setup #138
dvjsharma
merged 1 commit into
dvjsharma:master
from
kaali001:feature/automate-db-setup
Jul 22, 2024
Conversation
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
kaali001
changed the title
Implemented Prisma ORM and Initial Database Setup feat: #117
Feat : Implemented Prisma ORM and Initial Database Setup feat: #117
Jul 13, 2024
kaali001
changed the title
Feat : Implemented Prisma ORM and Initial Database Setup feat: #117
feat : Implemented Prisma ORM and Initial Database Setup feat: #117
Jul 13, 2024
kaali001
changed the title
feat : Implemented Prisma ORM and Initial Database Setup feat: #117
feat: Implemented Prisma ORM and Initial Database Setup feat: #117
Jul 13, 2024
Initial overview looks good @kaali001, will test over the weekend. |
Closed
dvjsharma
approved these changes
Jul 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hey @kaali001, please squash the commits into 1 for merge. |
kaali001
force-pushed
the
feature/automate-db-setup
branch
from
July 22, 2024 16:45
861bd3a
to
92c2e1d
Compare
I have done it. |
Hey @dcoder13 , please review it , I have two opened issues to work on. |
dcoder13
approved these changes
Jul 22, 2024
dvjsharma
changed the title
feat: Implemented Prisma ORM and Initial Database Setup feat: #117
feat: !(Breaking) Implemented Prisma ORM and Initial Database Setup feat: #117
Jul 22, 2024
dvjsharma
changed the title
feat: !(Breaking) Implemented Prisma ORM and Initial Database Setup feat: #117
feat: !(Breaking) Implemented Prisma ORM and Initial Database Setup
Jul 22, 2024
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
This PR introduces the implementation of Prisma ORM for database management in the Drawn2Shoe project. The changes include integrating Prisma, setting up the initial database schema, and adding seed data.
This is Feat: #117 .
Changes
Prisma Integration
Added Prisma and @prisma/client dependencies.
Reason: To include Prisma ORM and its client library for database management and operations.
Database Schema setup
design.
Supplier.
Database Seeding
Controllers Implementation
Prisma.
README Update
Updated README.md:
Reason: To provide detailed setup instructions for Prisma, the database, and controllers, ensuring a smooth setup
process for developers.
Changes: Added sections for Prisma setup, database seeding, and controllers:
How to test
Clone the repository:
Install dependencies:
Client:
Server:
Set up the database:
.env
file (your user name and password).Run Prisma commands:
Run the application:
Frontend:
Backend:
Verify the changes:
Additional Notes
Checklist: