Skip to content

teacher crud#13

Open
Ekemiben wants to merge 2 commits intodevelopmentfrom
teacher-crud-updated-version
Open

teacher crud#13
Ekemiben wants to merge 2 commits intodevelopmentfrom
teacher-crud-updated-version

Conversation

@Ekemiben
Copy link

What does this Code do?

-Create CRUD endpoints For Teachers

Description of tasks to be completed?

It makes sure that the following routes are working:
GET /api/teacher/home
GET /api/teacher/
GET /api/teacher/id
POST /api/teacher
PUT /api/teacher/id
DELETE /api/teacher/id

How should this be manually tested/checked?

  • Clone the PR
  • Checkout to the branch teacher-crud-updated-version
  • Install the dependencies using npm install
  • Create a .env file and define the following as follows:
    • PORT = 4000
    • database = <your database name>
    • username = <your username>
    • host = 127.0.0.1
    • dialect = postgres
  • Start the server by running npm start
  • To test this feature, go to--> http://localhost:4000/ <any of the routes> on postman.

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.

1 participant