Skip to content

Create assignment submission route#12

Open
Hazeem01 wants to merge 8 commits intodevelopmentfrom
create-assignment-submission-route
Open

Create assignment submission route#12
Hazeem01 wants to merge 8 commits intodevelopmentfrom
create-assignment-submission-route

Conversation

@Hazeem01
Copy link
Contributor

@Hazeem01 Hazeem01 commented Dec 5, 2022

What does this PR do

  • This PR creates a route for submitting assignments

Description of tasks to be completed?

It makes sure that the following routes are working:
POST /api/assignment/upload/assignmentId

How should this be manually tested/checked?

  • Clone the PR
  • Checkout to the branch create-assignment-submission-route
  • 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/upload/ <assignmentId> on your browser.

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.

3 participants