Open
Conversation
…er/class-manager into create-assignment-CRUD
to run the seeders make sure you run the migrations: sequelize db:migrate then run the seeders: sequelize db:seed
TijanAyo
suggested changes
Nov 28, 2022
Contributor
TijanAyo
left a comment
There was a problem hiding this comment.
Kindly put all the information in the config.js file into an .env file, you should not be showing details on your database out in the public.
Hazeem01
approved these changes
Nov 28, 2022
Contributor
Hazeem01
left a comment
There was a problem hiding this comment.
Nice job Judith !!
Our README now has a better and more descriptive look. 🤗
Author
|
🤗🤗🤗 Thank you Hazeem
…On Mon, 28 Nov 2022, 17:58 Hazeem01 ***@***.***> wrote:
***@***.**** approved this pull request.
Nice job Judith !!
Our README now has a better and more descriptive look. 🤗
—
Reply to this email directly, view it on GitHub
<#10 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQFQSXPSQNPU5SLHFVYDJATWKTXFBANCNFSM6AAAAAASKLDKYQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ekemiben
suggested changes
Nov 29, 2022
Ekemiben
left a comment
There was a problem hiding this comment.
Check line 7: make sure to have Git, Node.js, and "PostgreSQL" installed on your local machine as this will enable the user to write migration commands
Author
|
Okay. I'll do that. Thanks Ben
…On Tue, 29 Nov 2022, 04:20 Ekemini Sunday Ben ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Check line 7: make sure to have Git, Node.js, and "PostgreSQL" installed
on your local machine as this will enable the user to write migration
commands
—
Reply to this email directly, view it on GitHub
<#10 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQFQSXMBZX6S6N4CRWNJL5DWKWABFANCNFSM6AAAAAASKLDKYQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
feat(seed):seed database tables create seeders to populate all database tables -to run the seeders 'run npm migrate' to populate all the tables
…/class-manager into create-assignment-CRUD
Ekemiben
approved these changes
Dec 8, 2022
Ekemiben
left a comment
There was a problem hiding this comment.
Kindly remove the codes duplicate on line 1 thank you
…ass-manager into create-assignment-CRUD
…ass-manager into create-assignment-CRUD
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.
What does this PR do
Description of tasks to be completed?
It makes sure that the following routes are working:
GET /api/assignment/home
GET /api/assignment/
GET /api/assignment/id
POST /api/assignment
PUT /api/assignment/id
DELETE /api/assignment/id
How should this be manually tested/checked?
create-assignment-CRUDnpm installnpm start.env fileand define the following as follows:PORT = <3000>database = <database name>username = <your username>host = <127.0.0.1>dialect = <postgres>To test this feature go to http://localhost:3000/
<test any of the routes>on your browser.