Skip to content

Create assignment crud - #10

Open
JudySeyram wants to merge 1 commit into
developmentfrom
create-assignment-CRUD
Open

Create assignment crud#10
JudySeyram wants to merge 1 commit into
developmentfrom
create-assignment-CRUD

Conversation

@JudySeyram

Copy link
Copy Markdown

What does this PR do

  • This PR creates CRUD endpoints for assignment

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?

  • Clone the PR
  • Checkout to the branch create-assignment-CRUD
  • Install the dependencies using npm install
  • Start the server by running npm start
  • Create a .env file and 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.

@TijanAyo TijanAyo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Hazeem01 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job Judith !!
Our README now has a better and more descriptive look. 🤗

@JudySeyram

JudySeyram commented Nov 28, 2022 via email

Copy link
Copy Markdown
Author

@Ekemiben Ekemiben left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@JudySeyram

JudySeyram commented Nov 29, 2022 via email

Copy link
Copy Markdown
Author

@Ekemiben Ekemiben left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly remove the codes duplicate on line 1 thank you

@hacksultan
hacksultan force-pushed the create-assignment-CRUD branch from 6d79dee to 6ef7c46 Compare July 31, 2026 12:21
@hacksultan
hacksultan force-pushed the create-assignment-CRUD branch from 6ef7c46 to 2057303 Compare August 23, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants